diff options
Diffstat (limited to '3821/CH2/EX2.2/Example2_2.sce')
-rw-r--r-- | 3821/CH2/EX2.2/Example2_2.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3821/CH2/EX2.2/Example2_2.sce b/3821/CH2/EX2.2/Example2_2.sce new file mode 100644 index 000000000..744aa48f5 --- /dev/null +++ b/3821/CH2/EX2.2/Example2_2.sce @@ -0,0 +1,19 @@ +///Example 1.2 Page No:20
+///Find Stress in Steel bar
+///Input data
+clc;
+clear;
+L1=300*10^-3; //Length of hexagonal prismatic steel bar in mm
+A1=500*10^-6; //Area of cross section of steel bar mm**2
+Pt1=500*10^3; //Load of steel bar in KN
+E1=210*10^9; //Modulus of elasticity GN/m**2
+
+///Calculation
+sigmat1=Pt1/A1; //Stress in steel bar
+et1=sigmat1/E1; //Strain steel bar is
+deltaLt1=et1*L1; //Therefore,elongation of the steel bar is given by
+
+////Output
+printf('stress in steel bar= %f N/m^2 \n',sigmat1);
+printf('therefore,strain steel bar is given by= %f \n',et1);
+printf('therefore,elongation of the steel bar is given by= %f m',deltaLt1);
|