blob: ca2a953bc0f30e1f95ee86615331b693f3053c6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//
//
//
//Variable declaration
n=8 //no. of ring
D8=0.72*10**-2 //Diameter of the 8th ring
R=3 //Radius
//Calculations
lambdaa=(D8**2)*10**10/((2*(2*n-1))*R)
//Result
printf("\n The Wavelength is %i Angstrom",lambdaa)
|