summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.14/1_14.sce
blob: 5350955dd83bf901fd5e63b903539877c73fa860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Chapter-1,Example 1_14,Page 1-41
clc()

//Given Data:
n=4             //4th dark ring
m=12            //m=n+p
D4=0.4*10^-2    //Diameter of 4th ring
D12=0.7*10^-2   //Diameter of 12th ring

//Calculations:

//(Dn+p)^2-Dn^2=4*p*lam*R
//Solving, (D12^2-D4^2)/(D20^2-D4^2)
//We get above value =1/2. Hence
D20=sqrt(2*D12^2-D4^2)      //Diameter of 20th ring
printf('Diameter of 20th ring is =%.5f m \n',D20)