diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3828/CH1/EX1.5/Ex1_5.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3828/CH1/EX1.5/Ex1_5.sce')
-rw-r--r-- | 3828/CH1/EX1.5/Ex1_5.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3828/CH1/EX1.5/Ex1_5.sce b/3828/CH1/EX1.5/Ex1_5.sce new file mode 100644 index 000000000..b051eaaa8 --- /dev/null +++ b/3828/CH1/EX1.5/Ex1_5.sce @@ -0,0 +1,22 @@ +//Chapter 1 : Wave Optics + +clear; + +//Variable declaration +i=35 //incident angle in degrees +myu=1.33 //refractive index +n=1 //first minimum +t=4*10**-5 //thickness + +//Calculations +cos_r=0.90 +lamda1=2*myu*t*cos_r/10**-5 //for first order n=1 +lamda2=(2*myu*t*cos_r)/2/10**-5 //for second order n=2 +lamda3=(2*myu*t*cos_r)/3/10**-5 //for third order n=3 + +//Result +mprintf("(i)For the first order wavelength= %.2f*10**-5 cm" ,lamda1) +//The answer provided in the textbook is incorrect +mprintf("\n(ii)For the second order wavelength= %.2f*10**-5 cm",lamda2) +mprintf("\n(iii)For the third order wavelength= %.2f*10**-5 cm",lamda3) + |