summaryrefslogtreecommitdiff
path: root/3776/CH10/EX10.16/Ex10_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3776/CH10/EX10.16/Ex10_16.sce')
-rw-r--r--3776/CH10/EX10.16/Ex10_16.sce12
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)