blob: 1300fdd492361bada883751ab8b5e03994310fec (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 16.4
m=900;//Mass of the car and load (kg)
k=6.53*10^4;//Force constant (N/m)
f=1/(2*%pi)*sqrt(k/m);//Frequency (Hz)
printf('Frequency of oscillation = %0.2f Hz',f)
T=1/f;//Time period (s)
printf('\nTime period of oscillation = %0.3f s',T)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|