summaryrefslogtreecommitdiff
path: root/3648/CH25/EX25.9/Ex25_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH25/EX25.9/Ex25_9.sce')
-rw-r--r--3648/CH25/EX25.9/Ex25_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3648/CH25/EX25.9/Ex25_9.sce b/3648/CH25/EX25.9/Ex25_9.sce
new file mode 100644
index 000000000..6546c1683
--- /dev/null
+++ b/3648/CH25/EX25.9/Ex25_9.sce
@@ -0,0 +1,14 @@
+//Example 25_9
+clc();
+clear;
+//To find the value of work function for material
+h=6.63*10^-34 //units in J
+c=3*10^8 //units in meters/sec
+lamda=5*10^-7 //units in meters
+vo=0.6 //units in V
+e=1.6*10^-19 //units in eV
+phi=((h*c)/lamda)-(vo*e) //Units in J
+
+phi=phi/(1.6*10^-19) //units in eV
+
+printf("The value of work function for material is Phi=%.2f eV",phi)