summaryrefslogtreecommitdiff
path: root/3768/CH1/EX1.9
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH1/EX1.9')
-rw-r--r--3768/CH1/EX1.9/Ex1_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3768/CH1/EX1.9/Ex1_9.sce b/3768/CH1/EX1.9/Ex1_9.sce
new file mode 100644
index 000000000..9abfa6f84
--- /dev/null
+++ b/3768/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,16 @@
+//Example number 1.9, Page number 13
+
+clc;clear;
+close;
+
+//Variable declaration
+a=7.68*10**-29;
+r0=2.5*10**-10; //radius(m)
+
+//Calculation
+b=a*(r0**8)/9;
+y=((-2*a*r0**8)+(90*b))/r0**11;
+E=y/r0/10**9; //young's modulus(GPa)
+
+//Result
+printf( "young''s modulus is %d GPa",E)