// chapter 1 , Example1 5 , pg 22 l=50*10^-3//length of rod(in m) d=7250//density(in kg/m^3) E=11.5*10^10//youngs modulus(in N/m^2) n=sqrt(E/d)/(2*l)//natural frequency printf("Natural frequency of rod\n") printf("n=%.2f KHz",n*10^-3)