diff options
Diffstat (limited to '3755/CH3/EX3.5/Ex3_5.sce')
-rw-r--r-- | 3755/CH3/EX3.5/Ex3_5.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH3/EX3.5/Ex3_5.sce b/3755/CH3/EX3.5/Ex3_5.sce new file mode 100644 index 000000000..21deb9293 --- /dev/null +++ b/3755/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,18 @@ +clear
+//
+//
+//
+
+//Variable declaration
+lamdaB=0.92; //wavelength(angstrom)
+theta1=30; //glancing angle(degree)
+theta2=60; //glancing angle(degree)
+
+//Calculation
+theta1=theta1*%pi/180; //angle(radian)
+theta2=theta2*%pi/180; //angle(radian)
+lamdaA=2*lamdaB*sin(theta1)/sin(theta1); //wavelength of line A(angstrom)
+
+//Result
+printf("\n wavelength is %0.3f angstrom",lamdaA)
+printf("\n answer in the book is wrong")
|