summaryrefslogtreecommitdiff
path: root/3776/CH10/EX10.11/Ex10_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3776/CH10/EX10.11/Ex10_11.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/CH10/EX10.11/Ex10_11.sce')
-rw-r--r--3776/CH10/EX10.11/Ex10_11.sce6
1 files changed, 3 insertions, 3 deletions
diff --git a/3776/CH10/EX10.11/Ex10_11.sce b/3776/CH10/EX10.11/Ex10_11.sce
index a514a0eb8..7fd39419e 100644
--- a/3776/CH10/EX10.11/Ex10_11.sce
+++ b/3776/CH10/EX10.11/Ex10_11.sce
@@ -8,11 +8,11 @@ I_Z = 315 //in^4 - the moment of inertia wrt Z axis
I_y = 8.13 //in^4 - the moment of inertia wrt Y axis
o = 5 // degrees - the angle of acting force
P = 2000 //k the acting force
-P_h = P*sin((%pi/180)*(o)) //k - The horizantal component of P
+P_h = P*sin((%pi/180)*(o)) //k - The horizontal component of P
P_v = P*cos((%pi/180)*(o)) //k - The vertical component of P
-e_h = P_h*(L**3)/(3*E*I_y) // the horizantal component of deflection
+e_h = P_h*(L**3)/(3*E*I_y) // the horizontal component of deflection
e_v = P_v*(L**3)/(3*E*I_Z ) // the vertical component of deflection
e = ((e_h**2 + e_v**2)**0.5)
-printf("\n the horizantal component of deflection %0.3f in",e_h)
+printf("\n the horizontal component of deflection %0.3f in",e_h)
printf("\n the vertical component of deflection %0.3f in",e_v)
printf("\n the resultant deflection %0.3f in",e)