summaryrefslogtreecommitdiff
path: root/446/CH3/EX3.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /446/CH3/EX3.3
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 '446/CH3/EX3.3')
-rwxr-xr-x446/CH3/EX3.3/3_3.sce11
-rwxr-xr-x446/CH3/EX3.3/3_3.txt7
2 files changed, 18 insertions, 0 deletions
diff --git a/446/CH3/EX3.3/3_3.sce b/446/CH3/EX3.3/3_3.sce
new file mode 100755
index 000000000..c200680c0
--- /dev/null
+++ b/446/CH3/EX3.3/3_3.sce
@@ -0,0 +1,11 @@
+clear
+clc
+disp('Exa-3.3(a)');
+w=650*10^-9;h=6.63*10^-34;c=3*10^8; //given values and constant taken in comfortable units
+E=h*c/w; printf('The Energy of the electron is %.3e J ',E);
+E=E/(1.6*10^-19);printf('which is equivalent to %f eV\n',E);
+printf('The momentum of electron is p=E/c i.e %.2f/c \n',E);
+disp('Exa-3.3(b)');
+E2=2.40; //given energy of photon.
+w2=h*c*10^9/(E2*1.6*10^-19); //converting the energy in to eV and nm
+printf('The wavelength of the photon is %.2f nm',w2); \ No newline at end of file
diff --git a/446/CH3/EX3.3/3_3.txt b/446/CH3/EX3.3/3_3.txt
new file mode 100755
index 000000000..701a130ae
--- /dev/null
+++ b/446/CH3/EX3.3/3_3.txt
@@ -0,0 +1,7 @@
+
+ Exa-3.3(a)
+The Energy of the electron is 3.060e-019 J which is equivalent to 1.912500 eV
+The momentum of electron is p=E/c i.e 1.91/c
+
+ Exa-3.3(b)
+The wavelength of the photon is 517.97 nm \ No newline at end of file