summaryrefslogtreecommitdiff
path: root/3756/CH2/EX2.14/Ex2_14.sce
blob: a656e70d9378a6625a46ee5b284f0d7279126ea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//
//
//

//Variable declaration
lambdaa=6000*10**-8     //Wavelength
sinetheta=(3/4)         //Angular Width
n=4

//Calculations
gratingele=((n*lambdaa)/sinetheta)
//Result
printf("\n  The grating element is %0.5f cm",gratingele)