blob: bfedc791fcb7e943ac96f4d7f530ad48d08348b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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)
|