From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3863/CH4/EX4.11/Ex4_11.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 3863/CH4/EX4.11/Ex4_11.sce (limited to '3863/CH4/EX4.11') diff --git a/3863/CH4/EX4.11/Ex4_11.sce b/3863/CH4/EX4.11/Ex4_11.sce new file mode 100644 index 000000000..24af8f5fe --- /dev/null +++ b/3863/CH4/EX4.11/Ex4_11.sce @@ -0,0 +1,23 @@ +clear +// +//Given +//Variable declaration +delL=2.1 //Instantaneous extension in mm +L=3*10**3 //Length of bar in mm +A=5*100 //Area of bar in mm +h=4*10 //Height in mm +E=2e5 //Modulus of elasticity in N/sq.mm + +//Calculation +V=A*L //Volume of bar in mm^3 + +//case(i):Instantaneous stress induced in the vertical bar +sigma=int(E*delL/L) + +//case(ii):Unknown weight +P=(((sigma**2)/(2*E)*V)/(h+delL)) + + +//Result +printf("\n Instantaneous stress = %0.3f N/mm^2",sigma) +printf("\n Unknown weight = %0.3f N",P) -- cgit