summaryrefslogtreecommitdiff
path: root/3869/CH2/EX2.18
diff options
context:
space:
mode:
Diffstat (limited to '3869/CH2/EX2.18')
-rw-r--r--3869/CH2/EX2.18/Ex2_18.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3869/CH2/EX2.18/Ex2_18.sce b/3869/CH2/EX2.18/Ex2_18.sce
new file mode 100644
index 000000000..b47107b19
--- /dev/null
+++ b/3869/CH2/EX2.18/Ex2_18.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+theta=15*%pi/180 //angle(radian)
+a=2.5*10**-6 //slit width(m)
+
+//Calculation
+lamda=a*%pi*sin(theta)*10**10/(1.43*%pi) //wavelength of light(angstrom)
+
+//Result
+printf("\n wavelength of light is %0.0f angstrom",lamda)
+printf("\n answer given in the book is wrong")