summaryrefslogtreecommitdiff
path: root/3776/CH2/EX2.12/Ex2_12.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3776/CH2/EX2.12/Ex2_12.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/CH2/EX2.12/Ex2_12.sce')
-rw-r--r--3776/CH2/EX2.12/Ex2_12.sce7
1 files changed, 4 insertions, 3 deletions
diff --git a/3776/CH2/EX2.12/Ex2_12.sce b/3776/CH2/EX2.12/Ex2_12.sce
index b4a566a08..fb8e4ffb6 100644
--- a/3776/CH2/EX2.12/Ex2_12.sce
+++ b/3776/CH2/EX2.12/Ex2_12.sce
@@ -1,9 +1,10 @@
clear
-flex_a = 1//f
-flex_b = 2//f
+flex_a = 1 //f
+flex_b = 2 //f
//removing lower support and solving FBD
e = -2 -(2+1)//fp
//e_1 = (2+1+1)*R
//e_1 = -e Making the elongations zero since the both ends are fixed
-R = e/(2+1+1.0) //P
+R = -e/(2+1+1.0) //P
+//since sum of forces are 0
printf("\n The reactions at bottom is %0.3f P",R)