blob: c452c64485c09a2e6d59e798a13782614519db3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
T = 12.9*(10**-6) ///F
t = 100.00 // F
l_ab = 6.71 //inch
l_bc = 8.49 //inch
e_ab = T*t*l_ab //in-elongation
e_bc = T*t*l_bc //in-elongation
k = e_ab/e_bc // ratio of cosines of deflected angles
// t_1 and t_2 be deflected angles
//t_2 = 180-45-26.6-t_1 the sum of angles is 360
//applying cos on both sides
t_1 = atand(0.5)
//
e = e_bc/cosd(t_1)
printf("\n The displacement in point B is : %e in",e )
|