summaryrefslogtreecommitdiff
path: root/3875/CH4/EX4.17/Ex4_17.sce
blob: df7f1f6e7d1c1f8bdf47eda860ba7c794354d81e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;
clear;
f=4 //focal length of lens in m
myu=1.50 //refractive index
lambda=5460*10^-10 //wavelength in m
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.5f cm",D5)
//The answer provided in the textbook is wrong.