Home

Introduction

Contents

Scripts

FeedBack

Date 06/09/2010
Script S6_2_8.m
Download Script S6_2_8.m
%==============================================
%compton 1
%==============================================
%
%standard values of the constants c, h and of the rest mass of the electron
c=2.998e008;
h=6.626e-034;
m0=9.109e-031;
%constant hc
hc=h*c;
%Compton constant in picometers
cost=(h/(c*m0))*1.0e+012;
%lambda of the incident beam in picometers
lambdai=12
%scattering angle of photons
teta=52*pi/180;
cos_e=cos(teta);
%lambda of the scattered beam
lambdae=lambdai+cost*(1-cos_e)
%kinetic energy of the electrons in joule
%remenbering the lamda are in picometers
den=lambdai*lambdae*(1.0e-012)^2;
num=(lambdae-lambdai)*(1.0e-012);
T=hc*(num/den);
%T in eV
TeV=T*(1.0e+019/1.6);
%T in keV
TkeV=TeV/1000
%
%fi angle in degrees
%frequencies in Hz
nu=c/(lambdai*1.0e-012);
nup=c/(lambdae*1.0e-012);
%preliminary calculi
sin_e=sin(teta);
num=nup*sin_e;
den=nu-nup*cos_e;
arg=num/den;
fi=(180/pi)*atan(arg)
%==============================================
%
Top