summaryrefslogtreecommitdiff
path: root/3869/CH1/EX1.27/Ex1_27.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3869/CH1/EX1.27/Ex1_27.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3869/CH1/EX1.27/Ex1_27.sce')
-rw-r--r--3869/CH1/EX1.27/Ex1_27.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3869/CH1/EX1.27/Ex1_27.sce b/3869/CH1/EX1.27/Ex1_27.sce
new file mode 100644
index 000000000..0b486c5e5
--- /dev/null
+++ b/3869/CH1/EX1.27/Ex1_27.sce
@@ -0,0 +1,25 @@
+clear
+//
+//
+//
+
+//Variable declaration
+t=500*10**-9 //thickness(m)
+n1=0
+n2=1
+n3=2
+n4=3
+mew=1.33 //refractive index
+
+//Calculation
+lamda1=4*mew*t/((2*n1)+1) //wavelength in infrared region(m)
+lamda2=4*mew*t/((2*n2)+1) //wavelength in infrared region(m)
+lamda3=4*mew*t/((2*n3)+1) //wavelength in visible region(m)
+lamda4=4*mew*t/((2*n4)+1) //wavelength in ultraviolet region(m)
+
+//Result
+printf("\n wavelength in infrared region is %0.0f *10**-10 m",lamda1*10**10)
+printf("\n wavelength in infrared region is %0.1f *10**-10 m",lamda2*10**10)
+printf("\n wavelength in visible region is %0.0f *10**-10 m",lamda3*10**10)
+printf("\n wavelength in ultraviolet region is %0.0f *10**-10 m",lamda4*10**10)
+printf("\n of all the wavelengths reflected %0.3f angstrom is the wavelength in the visible region",lamda3*10**10)