summaryrefslogtreecommitdiff
path: root/3763/CH3/EX3.10/Ex3_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3763/CH3/EX3.10/Ex3_10.sce')
-rw-r--r--3763/CH3/EX3.10/Ex3_10.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3763/CH3/EX3.10/Ex3_10.sce b/3763/CH3/EX3.10/Ex3_10.sce
new file mode 100644
index 000000000..504463d9f
--- /dev/null
+++ b/3763/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,20 @@
+clear
+//
+//
+//
+
+//Variable declaration
+n=1 //order of diffraction
+lamda=1.54*10**-10 //wavelength(m)
+theta=32 //angle(degrees)
+h=2
+k=2
+l=0
+
+//Calculation
+theta=theta*%pi/180 //angle(radian)
+d=n*lamda/(2*sin(theta))
+a=d*sqrt(h**2+k**2+l**2) //lattice parameter of lead(m)
+
+//Result
+printf("\n lattice parameter of lead is %0.1f *10**-10 m",a*10**10)