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 --- 446/CH3/EX3.3/3_3.sce | 11 +++++++++++ 446/CH3/EX3.3/3_3.txt | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100755 446/CH3/EX3.3/3_3.sce create mode 100755 446/CH3/EX3.3/3_3.txt (limited to '446/CH3/EX3.3') 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 -- cgit