So here is the code:
M=300;
K=21000;
C=2000;
A=0.2;
wn=sqrt(K/M);
zeta=C/(2*sqrt(M*K)); % these are all constants
syms w
fplot(sqrt(wn^4+(2*zeta*wn*w)^2)/sqrt((wn^2-w^2)^2+(2*zeta*wn*w)^2),[0 100])
title('|G(jw)| vs w')
xlabel('w (rad/s)')
ylabel('|G(jw)|')
I am trying to find the maximum |G(jw)| value and the relative w value, and am also trying to find when |G(jw)|=0.1, what is the value of w.
Thanks in advance!
Best Answer