summaryrefslogtreecommitdiff
path: root/3776/CH6/EX6.8/Ex6_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3776/CH6/EX6.8/Ex6_8.sce
parentf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff)
downloadScilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip
Modified the code
Diffstat (limited to '3776/CH6/EX6.8/Ex6_8.sce')
-rw-r--r--3776/CH6/EX6.8/Ex6_8.sce10
1 files changed, 5 insertions, 5 deletions
diff --git a/3776/CH6/EX6.8/Ex6_8.sce b/3776/CH6/EX6.8/Ex6_8.sce
index 244deb69e..51d04bb08 100644
--- a/3776/CH6/EX6.8/Ex6_8.sce
+++ b/3776/CH6/EX6.8/Ex6_8.sce
@@ -2,20 +2,20 @@ clear
//Given
//Given
//We will divide this into two parts
-E_w = 10.0 //Gpa - Youngs modulus of wood
-E_s = 200.0 //Gpa - Youngs modulus of steel
+E_w = 10.0 //GPa - Youngs modulus of wood
+E_s = 200.0 //GPa - Youngs modulus of steel
M = 30.0 //K.N-m _ applied bending moment
n = E_s/E_w
l_1 = 250 //mm
l_2 = 10 //mm
b_1 = 150.0 //mm
b_2 = 150.0*n //mm
-A_1 = l_1* b_1 //mm2 - area of part_1
+A_1 = l_1* b_1 //sq.mm - area of part_1
y_1 = 125.0 //mm com distance from top
-A_2 =l_2*b_2 //mm2 - area of part_1
+A_2 =l_2*b_2 //sq.mm - area of part_1
y_2 = 255.0 //mm com distance from top
y_net = (A_1*y_1 +A_2*y_2)/(A_1+A_2) //mm - The com of the whole system from top
-I_1 = b_1*(l_1**3)/12.0 + A_1*((y_1-y_net)**2) //Parallel axis theorm
+I_1 = b_1*(l_1**3)/12.0 + A_1*((y_1-y_net)**2) //Parallel axis theorem
I_2 = b_2*(l_2**3)/12.0 + A_2*((y_2-y_net)**2)
I_net = I_1 + I_2 //mm4 - the total moment of inertia
c_s= y_net // The maximum distance in steel