summaryrefslogtreecommitdiff
path: root/3755/CH5/EX5.7/Ex5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH5/EX5.7/Ex5_7.sce')
-rw-r--r--3755/CH5/EX5.7/Ex5_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3755/CH5/EX5.7/Ex5_7.sce b/3755/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..3f57c354b
--- /dev/null
+++ b/3755/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,19 @@
+clear
+//
+//
+//
+
+//Variable declaration
+e=1.6*10^-19; //charge(coulomb)
+m=9*10^-31; //mass(kg)
+h=6.624*10^-34; //plank's constant(Js)
+n=5.86*10^28; //density(electrons/m^3)
+k=8.6*10^-5;
+
+//Calculations
+ef=(h^2/(8*m))*(3*n/%pi)^(2/3); //energy(J)
+ef=ef/e; //energy(eV)
+theta_f=ef/k; //maximum kinetic energy(K)
+
+//Result
+printf("\n maximum kinetic energy is %0.2f *10^4 K",theta_f/10^4)