summaryrefslogtreecommitdiff
path: root/3159/CH6/EX6.2/Ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3159/CH6/EX6.2/Ex6_2.sce')
-rwxr-xr-x3159/CH6/EX6.2/Ex6_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3159/CH6/EX6.2/Ex6_2.sce b/3159/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..e2792f88c
--- /dev/null
+++ b/3159/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,9 @@
+// Compute the line energy of dislocation
+clc
+a = 2.87 // lattice parameter in angstrom
+b= 2.49 // magnitude of burgers vector in angstrom
+G = 80.2 // shear modulus in GN
+printf("\n Example 6.2")
+E = G*1e9*(b*1e-10)^2*1/2
+printf("\n Line energy of dislocation is %.2e J m^-1",E)
+