diff options
Diffstat (limited to '623/CH2/EX2.1.6')
-rwxr-xr-x | 623/CH2/EX2.1.6/U2_C1_6.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/623/CH2/EX2.1.6/U2_C1_6.sce b/623/CH2/EX2.1.6/U2_C1_6.sce new file mode 100755 index 000000000..c7034715c --- /dev/null +++ b/623/CH2/EX2.1.6/U2_C1_6.sce @@ -0,0 +1,15 @@ +//variable initialization
+lembda1=4000 //wavelength of light (Å)
+V1=2 //stopping potential (volt)
+lembda2=6000 //wavelength of light (Å)
+V2=1 //stopping potential (volt)
+e=1.6*10^-19; //Charge of electron (coulombs)
+c=3*10^8; //speed of light (meter/second)
+ch=12400 //constant (eV Å)
+//(i) Planck's constant
+h=(e*(V1-V2)*lembda1*10^-10*lembda2*10^-10)/(c*((lembda2*10^-10)-(lembda1*10^-10))); //Planck's constant (joule-second)
+
+//(ii) Work function
+phi=(ch/lembda1)-V1; //work function of the material (eV)
+
+printf("\n(i) Planck`s constant = h = %.1e joule-second\n(ii) Work function of the material = %.1f eV",h,phi);
|