summaryrefslogtreecommitdiff
path: root/3864/CH2/EX2.47/Ex2_47.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3864/CH2/EX2.47/Ex2_47.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 '3864/CH2/EX2.47/Ex2_47.sce')
-rw-r--r--3864/CH2/EX2.47/Ex2_47.sce44
1 files changed, 44 insertions, 0 deletions
diff --git a/3864/CH2/EX2.47/Ex2_47.sce b/3864/CH2/EX2.47/Ex2_47.sce
new file mode 100644
index 000000000..2ffb85808
--- /dev/null
+++ b/3864/CH2/EX2.47/Ex2_47.sce
@@ -0,0 +1,44 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+d=20 //mm //Diameter of steel bar
+L=1000 //mm //Length of bar
+E=2*10**5 //N/mm**2 //Youngs Modulus
+p=300 //N/mm**2 //max Permissible stress
+h=50 //mm //Height through which weight will fall
+w=600 //N //Load
+
+//Calculations
+
+//ARea of steel bar
+A=%pi*4**-1*d**2
+
+//Instantaneous extension is
+dell_l=p*L*E**-1 //mm
+
+//Work done by Load
+//W=W1*(h+dell_l)
+
+//Volume of bar
+V=(A)*L
+
+//Let E1 be the strain Energy
+E1=p**2*(2*E)**-1*V
+
+//Answer in Book for Strain Energy is Incorrect
+
+//Now Equating Workdone by Load to strain Energy
+W1=E1*51.5**-1
+
+//Now when w=600 N
+//Let W2 be the Work done by the Load
+//W2=w(h2*dell_l)
+
+h=E1*w**-1-dell_l
+
+//Result
+printf("\n The Max Lodad which can Fall from a height of 50 mm on the collar is %0.2f N",W1)
+printf("\n the Max Height from which a 600 N Load can fall on the collar is %0.2f mm",h)