clc clear //INPUT DATA w=1.8 //wavelength //calulation y=sind(15*360/180)//displacement at 15cm from reflector //output printf("1. at 45cm, antinode occurs and hence pressure is minimum") printf("\n 2. at 90cm node arises and hence pressure is maximum") printf("\n 3. at 15cm frm reflector the displacement is %3.3f",y)