//calculation of speed of a wave clear; clc; printf("\t Example 7.1\n"); lambda=17.4;//wavelength, cm v=87.4;//frequency, Hz u=lambda*v;//speed of wave, cm/s printf("\t the speed of a wave is : %4.2f *10^3 cm/s\n",u*10^-3); //End