blob: 1898d0f41e554902c5a45157aafabb0390f6f35b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
//
//
//
//Variable declaration
n=20 //no. of ring
lambdaaR=0.0103 //Wavelength*R
//Calculations
D20=sqrt(4*n*lambdaaR)
//Result
printf("\n The Diameter of the 20th dark ring is %0.3f cm",D20)
|