blob: 2a23e340d176d1b9111058562e3d8777c32ba23e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
s=10 //angle of slope in rad
HA=100*(1/(cosd(s))-1) //Hypotenusal allowance in m
HA1=HA*0.201
printf('a)Hypotenusl allowance = %f \n',HA1 )
k= atan(0.2)
HA2=100*(1/(cos(k))-1)
HA3=HA2*0.201
printf(' b)Hypotenusl allowance = %f m',HA3 )
|