summaryrefslogtreecommitdiff
path: root/3864/CH2/EX2.46/Ex2_46.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.46/Ex2_46.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 '3864/CH2/EX2.46/Ex2_46.sce')
-rw-r--r--3864/CH2/EX2.46/Ex2_46.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/3864/CH2/EX2.46/Ex2_46.sce b/3864/CH2/EX2.46/Ex2_46.sce
new file mode 100644
index 000000000..11d592824
--- /dev/null
+++ b/3864/CH2/EX2.46/Ex2_46.sce
@@ -0,0 +1,34 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+W=100 //N //Load
+E=2*10**5 //N/mm**2 //Youngs Modulus
+h=60 //mm //Height through Load falls down
+L=400 //mm //Length of collar
+d=30 //mm //diameter of bar
+
+//Calculations
+
+A=%pi*4**-1*d**2 //mm**2 //Area of bar
+
+//Instantaneous stress produced is
+p=W*A**-1*(1+(1+(2*A*E*h*(W*L)**-1))**0.5)
+
+//Now the EXtension of the bar is neglected in calculating work doneby the Load,then
+P=(2*E*h*W*(A*L)**-1)**0.5
+
+//Let percentage error be denoted by E1
+//Percentage error in approximating is
+E1=(p-P)*p**-1*100
+
+//Instantaneous Extension produced is
+dell_l=(P)*E**-1*L
+
+
+//Result
+printf("\n The Instantaneous stress is %0.2f N/mm",p)
+printf("\n Percentage Error is %0.2f ",E1)
+printf("\n The Instantaneous extension is %0.2f mm",dell_l)