summaryrefslogtreecommitdiff
path: root/3755/CH6/EX6.5/Ex6_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH6/EX6.5/Ex6_5.sce')
-rw-r--r--3755/CH6/EX6.5/Ex6_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH6/EX6.5/Ex6_5.sce b/3755/CH6/EX6.5/Ex6_5.sce
new file mode 100644
index 000000000..7059e99c4
--- /dev/null
+++ b/3755/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+h=6.62*10^-34; //planck's constant(J-sec)
+m=9.1*10^-31; //mass of electron(kg)
+lamda=3*10^-12; //de-broglie wavelength(m)
+e=1.6*10^-19; //charge of electron(c)
+
+//Calculations
+E=h^2/(2*m*lamda^2); //energy of electron(J)
+E=E/e; //energy of electron(eV)
+
+//Result
+printf("\n energy of electron is %0.1f eV",E)
+printf("\n answer in the book is wrong")