summaryrefslogtreecommitdiff
path: root/3862/CH9/EX9.4/Ex9_4.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.4/Ex9_4.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.4/Ex9_4.sce')
-rw-r--r--3862/CH9/EX9.4/Ex9_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3862/CH9/EX9.4/Ex9_4.sce b/3862/CH9/EX9.4/Ex9_4.sce
new file mode 100644
index 000000000..9563245b2
--- /dev/null
+++ b/3862/CH9/EX9.4/Ex9_4.sce
@@ -0,0 +1,15 @@
+clear
+//variable declaration
+//Let the reactions at A be Ha, Va and Ma
+//summation of all horizontal forces is zero & vertical forces is zero.
+
+P1=(20) //vertical down Load at 2m from A,KN
+P2=(12) //vertical down Load at 3m from A,KN
+P3=(10) //vertical down Load at 4m from A,KN
+Pu=(16) //uniform distributed load from A to 2m from A,KN/m(in 2m of span)
+////horizontal,vertical component at A is Ha,Va respectively.
+printf("\n no horizontal force HA=0")
+Va=Pu*2+P1+P2+P3
+printf("\n VA= %0.2f KN",Va)
+Ma=Pu*2*1+P1*2+P2*3+P3*4
+printf("\n MA= %0.2f KN-m",Ma)