summaryrefslogtreecommitdiff
path: root/3828/CH4/EX4.1/Ex4_1.sce
blob: f1387b95bce2001a74b55a8ccce4eb1ddb75c6f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 4 : Laser and Holography

clear;

//Variable declaration
delE=3*1.6*10**-19      //Energy of laser
h=6.63*10**-34          //planck's constant
c=3*10**8               //speed of light

//Calculations
lamda=(h*c)/delE/10**-9

//Result
mprintf("Wavelength of radiation= %d nm",lamda)