The document contains MATLAB code to model viscous dampers in mechanical vibrations, showing the code for defining system parameters like mass and spring constant, solving the differential equation describing the system using ode45, and plotting the displacement, velocity, and acceleration outputs over time for undamped, underdamped, critically damped, and overdamped cases with different parameters. It was submitted by Muhammad Tayyab, roll number 035 from the BSME 2020-24 batch, to Dr. Zahid Iqbal for Assignment #2 on viscous dampers in mechanical vibrations.
The document contains MATLAB code to model viscous dampers in mechanical vibrations, showing the code for defining system parameters like mass and spring constant, solving the differential equation describing the system using ode45, and plotting the displacement, velocity, and acceleration outputs over time for undamped, underdamped, critically damped, and overdamped cases with different parameters. It was submitted by Muhammad Tayyab, roll number 035 from the BSME 2020-24 batch, to Dr. Zahid Iqbal for Assignment #2 on viscous dampers in mechanical vibrations.