From d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 10:59:42 +0530 Subject: Modified the code --- 3776/CH6/EX6.15/Ex6_15.sce | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '3776/CH6/EX6.15') 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) -- cgit