summaryrefslogtreecommitdiff
path: root/3864/CH2/EX2.11
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.11
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.11')
-rw-r--r--3864/CH2/EX2.11/Ex2_11.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3864/CH2/EX2.11/Ex2_11.sce b/3864/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..e3deff5c9
--- /dev/null
+++ b/3864/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,26 @@
+clear
+//
+//
+
+//Initilization of Variables
+
+t=10 //mm //Thickness of steel
+b1=60 //mm //width of plate1
+b2=40 //mm //width of plate2
+P=60*10**3 //Load
+L=600 //mm //Length of plate
+E=2*10**5 //N/mm**2
+
+//Calculations
+
+//Extension of taperong bar of rectangular section
+dell_l=P*L*(t*E*(b1-b2))**-1*log(b1*b2**-1)
+
+A_av=(b1*t+b2*t)*2**-1 //Average Area //mm**2
+dell_l2=P*L*(A_av*E)**-1
+
+//PErcentage Error
+e=(dell_l-dell_l2)*(dell_l)**-1*100
+
+//Result
+printf("\n The Percentage Error is %0.2f ",e)