From d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 10:59:42 +0530 Subject: Modified the code --- 3875/CH4/EX4.20/Ex4_20.sce | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '3875/CH4/EX4.20/Ex4_20.sce') 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. -- cgit