summaryrefslogtreecommitdiff
path: root/1085/CH6/EX6.3
diff options
context:
space:
mode:
Diffstat (limited to '1085/CH6/EX6.3')
-rwxr-xr-x1085/CH6/EX6.3/ex6_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1085/CH6/EX6.3/ex6_3.sce b/1085/CH6/EX6.3/ex6_3.sce
new file mode 100755
index 000000000..67c268dd0
--- /dev/null
+++ b/1085/CH6/EX6.3/ex6_3.sce
@@ -0,0 +1,12 @@
+//Exam:6.3
+clc;
+clear;
+close;
+h=6.625*(10^(-34));//Planck's constant(in m2*kg/s)
+c=3*10^8;//speed of light (in m/s)
+e=1.602*10^-19;//electron charge(in coulomb)
+wavelength=6800*10^-10;//wavelength of radiation
+v_o=c/wavelength;//frequency
+W=h*v_o;//Work function
+disp(v_o,'threshold frequency(in Hz)=')
+disp(W,'work function of metal(in joule)=') \ No newline at end of file