summaryrefslogtreecommitdiff
path: root/1172/CH3/EX3.19.1/Example3_19a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH3/EX3.19.1/Example3_19a.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1172/CH3/EX3.19.1/Example3_19a.sce')
-rwxr-xr-x1172/CH3/EX3.19.1/Example3_19a.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1172/CH3/EX3.19.1/Example3_19a.sce b/1172/CH3/EX3.19.1/Example3_19a.sce
new file mode 100755
index 000000000..d691e25fa
--- /dev/null
+++ b/1172/CH3/EX3.19.1/Example3_19a.sce
@@ -0,0 +1,14 @@
+clc
+//Given that
+lambda = 1 // wavelength in Angstrom
+theta = 90 // angle of scattered photon in degree
+m_e = 9.11e-31 // mass of electron in Kg
+c = 3e8 // speed of light in m/s
+h = 6.63e-34 // plank's constant
+//Sample Problem 19a page No. 144
+printf("\n\n\n # Problem 19a # \n")
+printf("\n Standard formula Used \n delta_lambda = h * (1 - cos (theta )) / ( m_e * c)")
+lambda_shift = h *(1 - cos(theta * %pi / 180))/ ( m_e * c) //calculation of Change in frequency
+printf ("\n Change in frequency is %f Hz. ", lambda_shift * 1e10)
+
+