diff options
Diffstat (limited to '3869/CH2/EX2.17/Ex2_17.sce')
-rw-r--r-- | 3869/CH2/EX2.17/Ex2_17.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3869/CH2/EX2.17/Ex2_17.sce b/3869/CH2/EX2.17/Ex2_17.sce new file mode 100644 index 000000000..85aca5feb --- /dev/null +++ b/3869/CH2/EX2.17/Ex2_17.sce @@ -0,0 +1,15 @@ +clear +// +// +// + +//Variable declaration +theta=15*%pi/180 //angle(radian) +lamda=6500*10**-8 //wavelength(cm) +n=1 //order + +//Calculation +a=n*lamda/sin(theta) //slit width(cm) + +//Result +printf("\n slit width is %0.2f *10**-4 cm",a*10**4) |