From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3862/CH8/EX8.11/Ex8_11.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 3862/CH8/EX8.11/Ex8_11.sce (limited to '3862/CH8/EX8.11/Ex8_11.sce') diff --git a/3862/CH8/EX8.11/Ex8_11.sce b/3862/CH8/EX8.11/Ex8_11.sce new file mode 100644 index 000000000..f97272901 --- /dev/null +++ b/3862/CH8/EX8.11/Ex8_11.sce @@ -0,0 +1,26 @@ +clear +// + +//variable declaration + +P=(200) //loading,KN +E=200*1000 +d1=40 //Young's modulus,N/mm^2 +A= %pi*(d1**2)/4 //Area of uniform portion**mm^2 +L1=1500 //length of uniform portion,mm +d2=60 //diameter of tapered section,mm +L2=500 //length of tapered section,mm +//Extensions of uniform portion and tapering portion are worked out separately and then added to get extension of the given bar. + +//Extension of uniform portion + +delta1=(P*1000*L1)/(A*E) + +printf("\n delta1= %0.3f mm",delta1) + +delta2=(P*1000*4*L2)/(E*%pi*d1*d2) + +printf("\n delta2= %0.3f mm",delta2) + +T=delta1 + delta2 +printf("\n Total extension %0.3f mm",T) -- cgit