Beruflich Dokumente
Kultur Dokumente
Objects which are free to vibrate will have one or more natural
frequency at which they vibrate.
Damped vibrations:
• Spring
• Mass and a
• Damper
• Under-Damped Condition
• Critically-Damped Condition
• Over-Damped Condition.
where
The quantity 2mωn is called the critical damping constant, cc. The
damping coefficient is therefore often defined this way:
elseif eq(Code,3)
prompt={'Enter Initial Displacement','Zeta','Spring
Cosntant','Mass','Initial Velocity'};
Title='Please Input the Following Values';
dims=[1 30];
definput={'5','0.01','500','5','10'};
answer=inputdlg(prompt,title,dims,definput)
Initial_Displacement=str2double(answer{1});
Zeta=str2double(answer{2});
Spring_Constant=str2double(answer{3});
Mass=str2double(answer{4});
Initial_Velocity=str2double(answer{5});
Natural_Frequency=sqrt(Spring_Constant/Mass);
Time=(0:0.05:6);
Disp_Eqn=(Initial_Displacement+(Initial_Velocity+Natural_
Frequency.*Initial_Displacement).*Time).*exp(-
Natural_Frequency.*Time);
plot(Time,Disp_Eqn)
elseif eq(Code,4)
prompt={'Enter Initial Displacement','Zeta','Spring
Cosntant','Mass','Initial Velocity'};
Title='Please Input the Following Values';
dims=[1 30];
definput={'5','0.01','500','5','10'};
answer=inputdlg(prompt,title,dims,definput);
Initial_Displacement=str2double(answer{1});
Zeta=str2double(answer{2});
Spring_Constant=str2double(answer{3});
Mass=str2double(answer{4});
Initial_Velocity=str2double(answer{5});
Natural_Frequency=sqrt(Spring_Constant/Mass);
Time=(0:0.5:60);
C1=(Initial_Displacement.*Natural_Frequency.*(Zeta+sqrt(Z
eta.*Zeta-
1))+Initial_Velocity)./(2.*Natural_Frequency.*sqrt(Zeta.*
Zeta-1));
C2=(-
Initial_Displacement.*Natural_Frequency.*(Zeta+sqrt(Zeta.
*Zeta-1))-
Initial_Velocity)./(2.*Natural_Frequency.*sqrt(Zeta.*Zeta
-1));
B1=-Zeta+sqrt(Zeta.*Zeta-1);
B2=-Zeta-sqrt(Zeta.*Zeta-1);
Disp_Eqn=C1.*exp(B1.*Natural_Frequency.*Time)+C2.*exp(B2.
*Natural_Frequency.*Time);
plot(Time,Disp_Eqn)
else
f=msgbox('Please Select Any Option');
end
Interface Results:
Sample Graph:
For Undamped Vibration