summaryrefslogtreecommitdiff
path: root/3701/CH2/EX2.6/Ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3701/CH2/EX2.6/Ex2_6.sce')
-rw-r--r--3701/CH2/EX2.6/Ex2_6.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3701/CH2/EX2.6/Ex2_6.sce b/3701/CH2/EX2.6/Ex2_6.sce
new file mode 100644
index 000000000..fae1ff1b9
--- /dev/null
+++ b/3701/CH2/EX2.6/Ex2_6.sce
@@ -0,0 +1,14 @@
+////Given
+v0=6*10**14 //s**-1
+h=6.63*10**-34
+e=1.6*10**-19
+V0=3
+
+//Calculaton
+W=h*v0
+W0=(h*v0)/e
+V=(e*V0+h*v0)/h
+
+//Result
+printf("\n work function is given by %0.3f ev",W0)
+printf("\n frequency is given by %0.2f *10**15 s-1",V*10**-15)