I have a vibration problem which asks to find and plot the total solution for 2D
ID: 2327043 • Letter: I
Question
I have a vibration problem which asks to find and plot the total solution for 2DOF undamped forced system with different frequencies using Matlab . So i programed the problem and it does don't work So may anyone help me with that and how can I fix it. I have a vibration problem which asks to find and plot the total solution for 2DOF undamped forced system with different frequencies using Matlab . So i programed the problem and it does don't work So may anyone help me with that and how can I fix it.USE MATLAB ONLY !!!!! function tt, yy model02 x0 0.01 0.01 100 3.5 [t, x] ode45 f ts,x0) plot (t,x(: 1 t,x 2) end M 10 0 0 5 K [1000 400 400 1200 B 1 300 B2-800 2 50 A zeros (2) eye (2) inv (M) *K zeros (2) fl inv (M) *B1; 2 inv (M) *B2; v1 A*x+ 0 0 fl] cos (w1*t); end
Explanation / Answer
solution:
for given forced undamped system equation of motion in matrix form can be writtena s
[K-M*w^2]X=F
hecne programme in matlab as follows
functionX=forced_vibration(K,M,F,omega)
K=[1000 -400;-400 1200];
M=[10 0;0 5];
F=[300;800];
omega=[5;50];
for i=1:2
omega=omega i
Xi=(K-M*(omega i)^2)F
fprintf('value of amplitude for first system');
end
end
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.