summaryrefslogtreecommitdiff
path: root/3862/CH9/EX9.9/Ex9_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH9/EX9.9/Ex9_9.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3862/CH9/EX9.9/Ex9_9.sce')
-rw-r--r--3862/CH9/EX9.9/Ex9_9.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3862/CH9/EX9.9/Ex9_9.sce b/3862/CH9/EX9.9/Ex9_9.sce
new file mode 100644
index 000000000..3a650583f
--- /dev/null
+++ b/3862/CH9/EX9.9/Ex9_9.sce
@@ -0,0 +1,20 @@
+clear
+//variable declaration
+
+//summation of all horizontal forces is zero & vertical forces is zero.
+
+//Let the left support C be at a distance x metres from A.
+
+P1=(30) //vertical down load at A,KN
+Pu=(6) //uniform distributed load over whole span,KN/m,(20m of span)
+P2=(50) //vertical down load at B, KN
+
+//Rc=Rd(given) reaction at C & D is equal.
+
+Rc=(P1+P2+Pu*20)/2
+Rd=Rc
+
+//taking moment at A
+x=(((Pu*20*10+P2*20)/100)-12)/2
+
+printf("\n X= %0.2f m",x)