blob: b3104e9414c06478e8f5ece7edc45a4344ae504a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//
//
//
//Variable declaration
n=59 //no. of ring
lambdaa=6*10**-7 //Wavelength
R=0.9 //Radius
//Calculations
D59=sqrt(4*R*n*lambdaa)*10**2
//Result
printf("\n The Diameter of the nth dark ring is %0.3f cm",D59)
|