From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1172/CH3/EX3.20/Example3_20.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1172/CH3/EX3.20/Example3_20.sce (limited to '1172/CH3/EX3.20/Example3_20.sce') diff --git a/1172/CH3/EX3.20/Example3_20.sce b/1172/CH3/EX3.20/Example3_20.sce new file mode 100755 index 000000000..938d91570 --- /dev/null +++ b/1172/CH3/EX3.20/Example3_20.sce @@ -0,0 +1,15 @@ +clc +//Given that +theta = 90 // angle of scattered photon in degree +E_rest = 938.3 // rest mass energy of a proton in MeV +E = 12// energy of scattered proton in Mev +c = 3e8 // speed of light in m/s +h = 6.63e-34 // plank's constant +//Sample Problem 20 page No. 145 +printf("\n\n\n # Problem 20 # \n") +printf("\n Standard formula Used \n delta_lambda = h * (1 - cos (theta )) / ( m_e * c)") +lambda = h * c / ( E * 1.6e-13) //calculation of incident wavelength +lambda1 = lambda + h * c / (E_rest * 1.6e-13) //calculation of wavelength of scattered photon +printf ("\n wavelength of scattered photon is %e Angstrom. ", lambda1 * 1e10) + + -- cgit