blob: c5b3792b6c37d3efd00f35316fafc3c6eec1119d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
//
//
//
//Variable declaration
lambdaa=5400*10**-10 //Wavelength
n1=5
n2=15
R=100 //Radius of both rings
//Calculations
r5=sqrt((R*n1*lambdaa)/2)
r15=sqrt((R*n2*lambdaa)/2)
d=(r15)-(r5)
//Result
printf("\n The Distance between 5th and 15th Dark ring is %0.3f m",d)
|