summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.25/Ex5_25.sce
blob: 404bbcf942ecf7f30c6a870cac7e47cf938cfa74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 5_25
clc();
clear;
//To find the wavelength at which planes give rise to maximum intensity
d=275  //units in pm
theta=45   //units in degrees
lamda=(2*d*sin(theta*%pi/180))   //units in pm
n=3
printf("\nFor n=3 lamda=%.2f",lamda/n)     
n=4
printf("\nFor n=4 lamda=%.2f",lamda/n)     
printf("\nLamda lies beyond the range of wavelengths of polychromatic source")