clear //Given a=45 //Degree b=60 //Degree //Calculation // A=tan(a*3.14/180.0)/(cos(b*3.14/180.0)) a=atan(A)*180/3.14 //Result printf("\n Apparant dip is %0.1f Degree",a)