summaryrefslogtreecommitdiff
path: root/3776/CH6/EX6.15
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.15
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.15')
-rw-r--r--3776/CH6/EX6.15/Ex6_15.sce14
1 files changed, 7 insertions, 7 deletions
diff --git a/3776/CH6/EX6.15/Ex6_15.sce b/3776/CH6/EX6.15/Ex6_15.sce
index ca2df4451..cfbab548a 100644
--- a/3776/CH6/EX6.15/Ex6_15.sce
+++ b/3776/CH6/EX6.15/Ex6_15.sce
@@ -1,12 +1,12 @@
clear
-//Given
-//From example 5.8
-W = 4.0 //N/m - The force distribution
+//Given
+//From example 5.8
+W = 4.0 //N/m - The force distribution
L = 3 // m - The length of the force applied
M = W*L/8.0 // KN.m The moment due to force distribution
-o = 30 // the angle of force applid to horizantal
-l = 150.0 //mm length of the crossection
-b = 100.0 //mm - width of the crossection
+o = 30 // the angle of force applied to horizontal
+l = 150.0 //mm length of the crossection
+b = 100.0 //mm - width of the crossection
//
M_z = M*(cos(3.14/6))
M_y = M*(sin(%pi/6))
@@ -14,4 +14,4 @@ I_z = b*(l**3)/12.0
I_y = l*(b**3)/12.0
//tanb = I_z /I_y *tan30
b = atand((I_z*tan(3.14/6.0)/I_y))
-printf("\n The angle at which neutral axis locates is %0.3f degrees",b)
+printf("\n The angle at which neutral axis located by is %0.3f degrees",b)