summaryrefslogtreecommitdiff
path: root/3886/CH4/EX4.12/Ex4_12.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH4/EX4.12/Ex4_12.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 '3886/CH4/EX4.12/Ex4_12.sce')
-rw-r--r--3886/CH4/EX4.12/Ex4_12.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/3886/CH4/EX4.12/Ex4_12.sce b/3886/CH4/EX4.12/Ex4_12.sce
new file mode 100644
index 000000000..ab6e62458
--- /dev/null
+++ b/3886/CH4/EX4.12/Ex4_12.sce
@@ -0,0 +1,38 @@
+//Analyse the truss
+//Refer fig. 4.20
+//Consider equilibrium of entire truss
+//taking moment about A
+YE=(60*8-40*4)/4 //kN
+XA=40 //kN
+YA=60-80 //kN
+//Take A as origin and determine co-ordinates of various point
+//Lengths in m are
+AB=4
+CE=4
+AE=4
+ED=4
+BE=4*sqrt(2)
+CD=4*sqrt(2)
+//Consider equilibrium of joints individually
+//Joint A
+tAB=5
+FAB=tAB*AB //kN
+tAE=-10
+FAE=tAE*AE //kN
+//Joint B
+tBE=-5
+FBE=tBE*BE //kN
+tBC=10-tBE
+BC=4
+FBC=tBC*BC //kN
+//Joint C
+tCD=15
+CD=4*sqrt(2)
+FCD=15*4*sqrt(2) //kN The answer provided in the textbook is wrong
+tCE=-15
+FCE=tCE*CE //kN
+//Joint D
+tDE=-15
+DE=4
+FDE=tDE*DE //kN
+printf("The forces in different members are:-\nAB=%.2d kN\nBC=%.2d kN\nCD=%.2d kN\nDE=%.2d kN\nEA=%.2d kN\nEC=%.2d kN\nEB=%.2d kN",FAB,FBC,FCD,FDE,FAE,FCE,FBE)