summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.11/EX2_11.sce
blob: 9a2513f4ffe6ef4d33569ab2c655ea913788aca1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear;
clc;
printf("\nEx2.11\n");
//page no.-58
//given
lambda=10^-8;................//wavelength in cm
h=6.62*10^-27;...................//planck's constant
c=3*10^10;.......................//velocity of light in cm/sec
e=1.6*10^-12;...................//charge in ergs
//as lambda=h/p,   p=momentum

p=h/lambda................//momentum in erg-sec/cm

E=p*c/e....................//energy in eV

printf("\nenergy of gamma ray photon is 1.24*10^4 eV\n");