diff options
Diffstat (limited to '3411/CH5/EX5.15')
-rw-r--r-- | 3411/CH5/EX5.15/Ex5_15.sce | 18 | ||||
-rw-r--r-- | 3411/CH5/EX5.15/Ex5_15.txt | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/3411/CH5/EX5.15/Ex5_15.sce b/3411/CH5/EX5.15/Ex5_15.sce new file mode 100644 index 000000000..f5f7ee853 --- /dev/null +++ b/3411/CH5/EX5.15/Ex5_15.sce @@ -0,0 +1,18 @@ +//Example 5_15
+clc();
+clear;
+//To calculate the Braggs angle
+h=6.63*10^-34 //Plancks Constant
+m=9.1*10^-31
+e=1.6*10^-19
+v=80
+lamda=h/sqrt(2*m*e*v) //units in mts
+lamda=lamda*10^9 //units in nm
+a=0.35 //units in nm
+h=1
+k=1
+l=1
+d111=a/sqrt(h^2+k^2+l^2) //units in nm //units in nm
+theta=asin(lamda/(2*d111)) //units in radians
+theta=theta*180/%pi //units in degrees
+printf("Braggs angle is theta=%.2fDegrees or 19Degrees40Minutes",theta)
diff --git a/3411/CH5/EX5.15/Ex5_15.txt b/3411/CH5/EX5.15/Ex5_15.txt new file mode 100644 index 000000000..61f0ff7a5 --- /dev/null +++ b/3411/CH5/EX5.15/Ex5_15.txt @@ -0,0 +1 @@ + Braggs angle is theta=19.87Degrees or 19Degrees40Minutes
\ No newline at end of file |