summaryrefslogtreecommitdiff
path: root/2243/CH6/EX6.2
diff options
context:
space:
mode:
Diffstat (limited to '2243/CH6/EX6.2')
-rwxr-xr-x2243/CH6/EX6.2/Ex6_2.sce18
-rwxr-xr-x2243/CH6/EX6.2/Res6_2.txt4
2 files changed, 22 insertions, 0 deletions
diff --git a/2243/CH6/EX6.2/Ex6_2.sce b/2243/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..ecb4f479d
--- /dev/null
+++ b/2243/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,18 @@
+clc();
+clear;
+//Given :
+h = 6.625*10^-34;//Planck's constant in Js
+c = 3*10^8 ; //velocity of light in m/s
+// 1A = 1.0*10^-10 m
+//(a)Energy of a photon :
+// E = h*nu or E = h*c/lambda
+printf("Energy of a photon is %2.4f x 10^-16 /lambda(in A) J\n",((h*c)*10^10)*10^16);
+//1eV = 1.6*10^-19 J
+printf("Energy of a photon is %.0f/lambda(in A) eV\n\n",round(((h*c)/(1.6*10^-19))*10^10));
+//(b)Visible light Range is 4000-7000 A
+lambda1 = 4000;//Wavelength in A
+lambda2 = 7000;//Wavelength in A
+// 1eV = 1.6*10^-19 J ,
+E1 = (h*c)/(lambda1*10^-10*1.6*10^-19); //Energy in eV
+E2 = (h*c)/(lambda2*10^-10*1.6*10^-19);//Energy in eV
+printf("Hence the range of energies for visible photos is %.1f eV to %.1f eV",E2,E1);
diff --git a/2243/CH6/EX6.2/Res6_2.txt b/2243/CH6/EX6.2/Res6_2.txt
new file mode 100755
index 000000000..c3d97f69d
--- /dev/null
+++ b/2243/CH6/EX6.2/Res6_2.txt
@@ -0,0 +1,4 @@
+Energy of a photon is 19.8750 x 10^-16 /lambda(in A) J
+Energy of a photon is 12422/lambda(in A) eV
+
+Hence the range of energies for visible photos is 1.8 eV to 3.1 eV \ No newline at end of file