diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /3875/CH4/EX4.20 | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '3875/CH4/EX4.20')
-rw-r--r-- | 3875/CH4/EX4.20/Ex4_20.sce | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/3875/CH4/EX4.20/Ex4_20.sce b/3875/CH4/EX4.20/Ex4_20.sce index d7db69871..5d462a526 100644 --- a/3875/CH4/EX4.20/Ex4_20.sce +++ b/3875/CH4/EX4.20/Ex4_20.sce @@ -3,8 +3,12 @@ clear; R=100 //radius of curvature in cm
D_5=0.3 //diameter of the 5th dark ring in cm
D_25=0.8 //diameter of the 25th dark ring in cm
-p=20 //difference in no of fringes
+n5=5 //fifth dark ring
+n25=25 //twenty fifth ring
//calculation
-lambda=(D_25^2-D_5^2)/(4*p*R)
+p = n25 - n5 //difference in no of fringes
+lambda=((D_25^2)-(D_5^2))/(4*p*R)
+
mprintf("The wavelength of light used is = %1.2e cm",lambda)
+//The answer provided in the textbook is wrong.
|