summaryrefslogtreecommitdiff
path: root/3863/CH1/EX1.15/Ex1_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH1/EX1.15/Ex1_15.sce')
-rw-r--r--3863/CH1/EX1.15/Ex1_15.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3863/CH1/EX1.15/Ex1_15.sce b/3863/CH1/EX1.15/Ex1_15.sce
new file mode 100644
index 000000000..a5059bfc4
--- /dev/null
+++ b/3863/CH1/EX1.15/Ex1_15.sce
@@ -0,0 +1,16 @@
+clear
+//
+
+//Given
+//Variable declaration
+D1=40 //Larger diameter in mm
+D2=20 //Smaller diameter in mm
+L=400 //Length of rod in mm
+P=5000 //Axial load in N
+E=2.1e5 //Youngs modulus in N/sq.mm
+
+//Calculation
+dL=((4*P*L)/(%pi*E*D1*D2)) //extension of rod in mm
+
+//Result
+printf("\n Extension of the rod = %0.3f mm",dL)