blob: 732064af09ff02e15c46e3e8cb3edcf78d5e5e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
//
//
a1=135,a2=145,
t1=180-a1
t2=180-a2
t3=180-(t1+t2)
r1=400,r2=200,
ct=1000
ED=r1*(tan((t1/2)*(%pi/180)))
FD=r2*(tan((t2/2)*(%pi/180)))
EF=ED+FD
printf("\n EF= %0.3f ",EF)
BE=EF*(sin(t2*(%pi/180)))/(sin(t3*(%pi/180)))
BF=EF*(sin(t1*(%pi/180)))/(sin(t3*(%pi/180)))
ct1=ct-(BE+ED)
cd=ct1+((%pi*r1*t1)/(180))
ct2=cd+((%pi*r2*t2)/(180))
printf("\n chainage of T1= %0.3f ",ct1)
printf("\n chainage of D= %0.3f ",cd)
printf("\n chainage of T2 %0.3f ",ct2)
|