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

clear;

//Variable declaration
lamda=6328*10**-10      //wavelength
h=6.63*10**-34          //planck's constant
c=3*10**8               //speed of light

//Calculations
E=((h*c)/lamda)/1.6*10**19
Momentum=h/lamda/10**-27

//Result
mprintf("Energy of radiation= %f eV",E)
mprintf("\nMomentum of electron= %f*10**-27 kgm/s",Momentum)