summaryrefslogtreecommitdiff
path: root/3886/CH4/EX4.1/Ex4_1.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.1/Ex4_1.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3886/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3886/CH4/EX4.1/Ex4_1.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3886/CH4/EX4.1/Ex4_1.sce b/3886/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..eea95d2a1
--- /dev/null
+++ b/3886/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,23 @@
+//finding forces in members of truss
+//Refer fig. 4.8
+//Step 1
+theta=atand(3/3) //Degree
+//Step 2
+//Assume Notations as in fig. 4.8
+//Step 3
+//applying equilibrium conditions
+FCB=40/sind(45) //kN
+FCD=FCB*cosd(45) //kN
+//Step 4
+//Mark and analyse at joint C
+//Step 5
+//Analyse joint D
+FDB=40 //kN
+FDE=40 //kN
+//step 6
+//Analysis of joint B
+FBE=(40+56.57*sind(45))/sind(45) //kN
+FBA=FBE*cosd(45)+56.57*cosd(45) //kN
+//step 7
+//Tabulating answers
+printf("The required forces in members are:-\nAB=%.2f kN (Tension)\nBC=%.2f kN (Tension)\nCD=%.2f kN (Compression)\nDE=%.2f kN (Compression)\nBE=%.2f kN (Compression)\nBD=%.2f kN (Tension)",FBA,FCB,FCD,FDE,FBE,FDB)