summaryrefslogtreecommitdiff
path: root/3863/CH4/EX4.5/Ex4_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH4/EX4.5/Ex4_5.sce')
-rw-r--r--3863/CH4/EX4.5/Ex4_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3863/CH4/EX4.5/Ex4_5.sce b/3863/CH4/EX4.5/Ex4_5.sce
new file mode 100644
index 000000000..21736ce34
--- /dev/null
+++ b/3863/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,19 @@
+clear
+//Given
+//Variable declaration
+A=700 //Area in sq.mm
+L=1.5*10**3 //Length of a metal bar in mm
+sigma=160 //Stress at elastic limit in N/sq.mm
+E=2e5 //Youngs Modulus in N/sq.mm
+
+
+//Calculation
+V=A*L //Volume of bar in sq.mm
+Pr=(sigma**2/(2*E)*V)*1e-3 //Proof resilience in N-m
+P=int(sigma*A/2*1e-3) //Suddenly applied load in kN
+P1=int(sigma*A*1e-3) //gradually applied load in kN
+
+//Result
+printf("\n Proof resilience = %0.3f N-m",Pr)
+printf("\n Suddenly applied load = %0.3f kN",P)
+printf("\n Gradually applied load = %0.3f kN",P1)