blob: b6fe82c9fc61c384e73745454bc02f2abe8e1f91 (
plain)
1
2
3
4
5
6
7
8
|
//clc();
clear;
//To determine the natural frequency of iron
l=40*10^(-3); //length of pure iron rod in metres
rho=7.25*10^3; //density of pure iron in kg/m^3
Y=115*10^9; //youngs modulus in N/m^2
new=(sqrt(Y/rho))*10^(-3)/(2*l);
printf("the natural frequency of pure iron is %f KHz",new);
|