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/CH10/EX10.16 | |
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/CH10/EX10.16')
-rw-r--r-- | 3776/CH10/EX10.16/Ex10_16.sce | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/3776/CH10/EX10.16/Ex10_16.sce b/3776/CH10/EX10.16/Ex10_16.sce index 7cce6d1d2..d1e701290 100644 --- a/3776/CH10/EX10.16/Ex10_16.sce +++ b/3776/CH10/EX10.16/Ex10_16.sce @@ -1,12 +1,12 @@ clear -//Given -l_ad = 1600 //mm - The total length of the beam +//Given +l_ad = 1600 //mm - The total length of the beam l_ab = 600 //mm - The length of AB l_bc = 600 //mm - The length of BC -e_1 = 0.24 //mm - deflection +e_1 = 0.24 //mm - deflection e_2 = 0.48 //mm - deflection -E = 35 //Gpa -//Caliculation +E = 35 //GPa +//calculation A_afe = -(l_ab+l_bc)*e_1*(10**-3)/(2*E) A_afe = -(l_ab)*e_2*(10**-3)/(4*E) @@ -15,4 +15,4 @@ x_1 = 1200 //com from B x_2 = 800 //com from B y_b = A_afe*x_1 + A_afe*x_2 //mm The maximum deflection at tip B printf("\n The maximum deflection at tip B %0.2f mm",y_b) -printf("\n The slope at the tip B %0.2f radians",y_1_b) +printf("\n The slope at the tip B %e radians",y_1_b) |