Question: Now, for the system above, set both initial conditions zero. However, there is an external force F = s i n ( 2 t )

Now, for the system above, set both initial conditions zero. However, there is an external force
F=sin(2t) acting on the mass, build a Simulink model plot the x(t) and v(t) for the first 20 s .
Hint: to derive v(t), you may want to look for a "derivative block" in Simulink. (10 points)
I need part b c and number 5, as I am strugling to addapt the code solve these questions, here is the code:
syms x(t)
m=0.05;b=1;k=0.2;w_e=2;F=sin(w_e*t);
Dx=diff(x,t);
D2x=diff(x,t,2);
solution=dsolve(m*D2x+b*Dx+k*x==F,Dx(0)==0,x(0)==0.1);
disp(solution);
t1=0:0.01:25;
x1=subs(solution,t,t1);
plot(t1,x1);
xlabel('Time(s)');
ylabel('Displacement(m)');
Now, for the system above, set both initial

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!