summaryrefslogtreecommitdiff
path: root/3863/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3863/CH1/EX1.3/Ex1_3.sce')
-rw-r--r--3863/CH1/EX1.3/Ex1_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3863/CH1/EX1.3/Ex1_3.sce b/3863/CH1/EX1.3/Ex1_3.sce
new file mode 100644
index 000000000..5d869ed89
--- /dev/null
+++ b/3863/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,19 @@
+clear
+//
+
+//Given
+//Variable declaration
+D=25 //Diameter of brass rod in mm
+P=50*10**3 //Tensile load in N
+L=250 //Length of rod in mm
+dL=0.3 //Extension of rod in mm
+
+//Calculation
+A=(%pi/4)*(D**2) //Area of rod in sq.mm
+sigma=(P/A) //Stress in N/sq.mm
+
+e=dL/L //Strain
+E=(sigma/e) //Youngs Modulus in N/sq.m
+
+//Result
+printf("\n Youngs Modulus of a rod,E = %0.3f GN/m^2",E*(10**-3))