blob: bc2dc59b6bd76d6b0f490c91a041f07e89e27a61 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 1_41
clc();
clear;
//To calculate the wavelength of monochromatic light
betaa=0.4 //units in mm
betaa=0.4*10^-1 //units in cm
d=0.1 //units in cm
D=80 //units in cm
lemda=(d*betaa)/D*10^8
printf("The wavelength of monochromatic light is %.0f angstroam",lemda)
|