diff options
Diffstat (limited to '3669/CH14/EX14.3/3.sce')
-rw-r--r-- | 3669/CH14/EX14.3/3.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3669/CH14/EX14.3/3.sce b/3669/CH14/EX14.3/3.sce new file mode 100644 index 000000000..2f038f744 --- /dev/null +++ b/3669/CH14/EX14.3/3.sce @@ -0,0 +1,18 @@ +
+//Variable declaration
+mew=1.33; //refractive index of soap
+t=5000*10**-10; //thickness(m)
+n0=0;
+n1=1;
+n2=2;
+n3=3;
+
+//Calculation
+x=4*mew*t;
+lamda1=x/((2*n0)+1); //for n=0
+lamda2=x/((2*n1)+1); //for n=1
+lamda3=x/((2*n2)+1); //for n=2
+lamda4=x/((2*n3)+1); //for n=3
+
+//Result
+printf('%0.3f angstrom lies in the visible region', lamda3*10**10)
\ No newline at end of file |