summaryrefslogtreecommitdiff
path: root/3756/CH1/EX1.12/Ex1_12.sce
blob: bb623d57d9650a1e1d83cf3bfbc6239cf91ca773 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
//
//
//

//Variable declaration
d=0.3*10**-2                //slit separation
D=1                            //Distance from Screen
Beta=0.0195*10**-2           //Wavelength


//Calculations
lambdaa=(Beta*d*10**10)/D

//Result
printf("\n The wavelength is %i *10**-10 m",lambdaa)