summaryrefslogtreecommitdiff
path: root/3769/CH21/EX21.8/Ex21_8.sce
blob: abafdda0a41c9926efa6fe911c8a99eb033600b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
b2=0.4
b1=0.6
l1=5000

//Calculation
l2=(b2*2*l1)/b1

//Result
printf("\n Wavelength of the light is %0.0f  A",l2)