summaryrefslogtreecommitdiff
path: root/1694/CH2/EX2.39/EX2_39.sce
blob: 6737c02eedee0d7f8ed98ef61f6acae2e7b4e80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clear;
clc;
printf("\nEx2.39\n");
//page no.-86
//given
E=1.02*10^6;...............//energy in eV
theta=90;................//angle in degrees
h=6.6*10^-34;..........//planck's constant in J-sec
m=9.1*10^-31;.........//mass of electron 
c=3*10^8;..............//speed of light in m/s
e=1.6*10^-19;..........//charge
//acc. to compton exp.,_lambda-lambda=(h*(1-cosd(theta)))/m*c

del_lambda=((h*(1-cosd(theta)))/(m*c)).........//change in wavelength in m

del_nu=c/del_lambda................//changein frequency of photon

del_E=h*del_nu/e....................//change in energy of photon in eV

Eo=E-del_E.......................//energy of photon after interaction in eV

printf("\nEnergy of photon after interaction is 0.51 Mev\n");