summaryrefslogtreecommitdiff
path: root/3862/CH2/EX2.21
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3862/CH2/EX2.21
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/CH2/EX2.21')
-rw-r--r--3862/CH2/EX2.21/Ex2_21.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3862/CH2/EX2.21/Ex2_21.sce b/3862/CH2/EX2.21/Ex2_21.sce
new file mode 100644
index 000000000..e220de538
--- /dev/null
+++ b/3862/CH2/EX2.21/Ex2_21.sce
@@ -0,0 +1,25 @@
+clear
+//
+
+//A bar can develop a tensile force or a compressive force. Let the force developed be a compressive force S (push on the cylinder).
+
+//variable declaration
+W=10.0 //weight of Roller,KN
+IL=7.0 //inclined loading at angle of 45°,KN
+H=5.0 //Horizontal loading ,KN
+
+theta=45.0*%pi/180 //angle of loading of IL
+thetaS=30.0*%pi/180.0
+
+//Since there are more than three forces in the system, Lami’s equations cannot be applied. Consider the components in horizontal and vertical directions.
+//sum of vertical Fy & sum of horizontal forces Fx is zero
+//Assume direction of Fx is right
+//Assume direction of Fy is up
+
+S=(-H+IL*cos(theta))/cos(thetaS)
+printf("\n S= %0.3f N",S)
+
+printf("\n Since the value of S is negative the force exerted by the bar is not a push, but it is pull (tensile force in bar) of magnitude %0.3f kN.",-S)
+
+R=W+IL*sin(theta)-S*sin(thetaS)
+printf("\n R= %0.3f kN",R)