//Example 16.3 T=0.400*10^-6;//Time period (s) f=1/T;//Frequency (Hz) printf('a.Frequency of oscillation = %0.2e Hz',f) f1=264;//Frequency of middle C (Hz) T1=1/f1;//Time period (s) printf('\nb.Time period of oscillation = %0.2f ms',T1*1000) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest