diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3776/CH2/EX2.7/Ex2_7.sce | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '3776/CH2/EX2.7/Ex2_7.sce')
-rw-r--r-- | 3776/CH2/EX2.7/Ex2_7.sce | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/3776/CH2/EX2.7/Ex2_7.sce b/3776/CH2/EX2.7/Ex2_7.sce index c452c6448..0bfdaefa3 100644 --- a/3776/CH2/EX2.7/Ex2_7.sce +++ b/3776/CH2/EX2.7/Ex2_7.sce @@ -1,15 +1,16 @@ clear T = 12.9*(10**-6) ///F -t = 100.00 // F +t = 100.00 // F l_ab = 6.71 //inch l_bc = 8.49 //inch -e_ab = T*t*l_ab //in-elongation +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 +k = e_ab/e_bc // ratio of cosines of deflected angles +// t_1 and t_2 be deflected angles +//t_2 = 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 ) +printf("\n It forms an angle of %f degrees with vertical",45-t_1 ) |