summaryrefslogtreecommitdiff
path: root/3863/CH1/EX1.16/Ex1_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH1/EX1.16/Ex1_16.sce')
-rw-r--r--3863/CH1/EX1.16/Ex1_16.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3863/CH1/EX1.16/Ex1_16.sce b/3863/CH1/EX1.16/Ex1_16.sce
new file mode 100644
index 000000000..deb4a4610
--- /dev/null
+++ b/3863/CH1/EX1.16/Ex1_16.sce
@@ -0,0 +1,16 @@
+clear
+//
+
+//Given
+//Variable declaration
+D1=30 //Larger diameter in mm
+D2=15 //Smaller diameter in mm
+L=350 //Length of rod in mm
+P=5.5*10**3 //Axial load in N
+dL=0.025 //Extension in mm
+
+//Calculation
+E=int((4*P*L)/(%pi*D1*D2*dL)) //Modulus of elasticity in N/sq.mm
+
+//Result
+printf("\n Modulus of elasticity,E = %.5eN/mm^2",E)