summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.17/Ex4_17.sce
blob: 65446a8b8d5501b5b880f443a43cd881c677f02f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
clear;
f=400 //focal length of lens in cm
myu=1.50 //refractive index
lambda=5460*10^-6 //wavelength in cm
n=5 //fifth bright ring

//calculation
R=(myu-1)*2*f //radius of curvature in cm

D5=sqrt(2*((2*n)-1)*lambda*R)

mprintf("The diameter of the fifth bright ring is = %1.2f cm",D5)
//The answer provided in the textbook is wrong.