summaryrefslogtreecommitdiff
path: root/3665/CH6/EX6.13/Ex6_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH6/EX6.13/Ex6_13.sce')
-rw-r--r--3665/CH6/EX6.13/Ex6_13.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3665/CH6/EX6.13/Ex6_13.sce b/3665/CH6/EX6.13/Ex6_13.sce
new file mode 100644
index 000000000..8de0c4df0
--- /dev/null
+++ b/3665/CH6/EX6.13/Ex6_13.sce
@@ -0,0 +1,16 @@
+clc//
+//
+//
+
+//Variable declaration
+V=344; //voltage(V)
+n=1;
+theta=60*%pi/180; //angle(radian)
+
+//Calculation
+lamda=(12.26/sqrt(V)); //de broglie wavelength(angstrom)
+
+d=n*lamda/(2*sin(theta)); //spacing of crystal(angstrom)
+
+//Result
+printf("\n spacing of crystal is %0.4f angstrom",d)