SolSec 2.8 - 2- 60Problems and Solutions Section 2.8 (2.80...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2- 60Problems and Solutions Section 2.8 (2.80 through 2.86) 2.80*.Numerically integrate and plot the response of an underdamped system determined by m= 100 kg, k= 20,000 N/m, and c= 200 kg/s, subject to the initial conditions of x= 0.01 m and v= 0.1 m/s, and the applied force F(t) = 150cos5t.Then plot the exact response as computed by equation (2.33). Compare the plot of the exact solution to the numerical simulation. Solution: The solution is presented in Matlab: First the m file containing the state equation to integrate is set up and saved as ftp2_72.m function xdot=f(t, x) xdot=[-(200/100)*x(1)-(20000/100)*x(2)+(150/100)*cos(5*t); x(1)]; % xdot=[x(1)'; x(2)']=[-2*zeta*wn*x(1)-wn^2*x(2)+fo*cos(w*t) ; x(1)] % which is a state space form of % x" + 2*zeta*wn*x' + (wn^2)*x = fo*cos(w*t) (fo=Fo/m) clear all; Then the following m file is created and run: %---- numerical simulation --- x0=[0.1; 0.01]; %[xdot(0); x(0)] tspan=[0 10]; [t,x]=ode45('fp2_72',tspan,x0); plot(t, x(:,2), '.'); hold on; %--- exact solution ---- t=0: .002: 10; m=100; k=20000; c=200; Fo=150 ; w=5 wn=sqrt(k/m); zeta=c/(2*wn*m); fo=Fo/m; wd=wn*sqrt(1-zeta^2) x0=0.01; v0= 0.1; xe= exp(-zeta*wn*t) .* ( (x0-fo*(wn^2-w^2)/((wn^2-w^2)^2 ......
View Full Document

This note was uploaded on 03/31/2009 for the course MECHANICAL MAE351 taught by Professor J.g.lee during the Spring '09 term at Korea Advanced Institute of Science and Technology.

Page1 / 10

SolSec 2.8 - 2- 60Problems and Solutions Section 2.8 (2.80...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online