Use MatLab to plot the three types of damping force vs veloc

Use MatLab to plot the three types of damping (force vs velocity). Show your plots on a single page. Coulomb damping (friction) for 3kg 3kg block sliding on a surface with a coefficient of friction, mu = 0.3. Viscous damping, c = 3N/(mm/s). Aerodynamic damping in air at sea level. The block has a frontal area of 1 m^2 and a drag coefficient of 0.29.

Solution

the MAtlab code is given below

function Yp = unforced 1 (t, y)

yp = {y(2) ; (-((c/m) *y92) - ((k/m)*y(10));

No we need to write the code which calls the aabove function and solves the differntial equaton and plots the required result. First open another m- profile and type the following code

tspan = ( 0,2);

y0 =[ 0.02 ;0];

[t,y ] = ode 45(\' unforced\' , tspan ,y0);

plot [ t,y (: ,1)

grid on

xlabel (\'time\')

ylabel(\'displacement\')

tiltle (\' displacement vs tim\')

hold on;

 Use MatLab to plot the three types of damping (force vs velocity). Show your plots on a single page. Coulomb damping (friction) for 3kg 3kg block sliding on a

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site