summaryrefslogtreecommitdiff
path: root/3159/CH10/EX10.1/Ex10_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3159/CH10/EX10.1/Ex10_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3159/CH10/EX10.1/Ex10_1.sce')
-rwxr-xr-x3159/CH10/EX10.1/Ex10_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3159/CH10/EX10.1/Ex10_1.sce b/3159/CH10/EX10.1/Ex10_1.sce
new file mode 100755
index 000000000..67a172a63
--- /dev/null
+++ b/3159/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,13 @@
+// Estimate young’s modulus of material
+clc
+n = 1
+m = 9
+A = 7.68e-29 // Constant having unit J m
+r_0 = 2.5e-10 // bonding distance in m
+printf("\n Example 10.1")
+B = A*r_0^8/9
+
+Y = (90*B/(r_0)^11-2*A/(r_0)^3)/r_0
+
+printf("\n Young’s modulus of material is %d GN m^-2",Y/1e9)
+