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

//Variable declaration
lambdaa=5893*10**-10  //Wavelength
l=0.2945*10**-3       //Distance by which mirror is displaced


//Calculations
dellambdaa=(lambdaa**2)*10**10/(2*l)

//Result
printf("\n The Difference between two wavelengths is  %0.1f Angstrom",dellambdaa)