summaryrefslogtreecommitdiff
path: root/3651/CH3/EX3.9
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH3/EX3.9')
-rw-r--r--3651/CH3/EX3.9/9.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3651/CH3/EX3.9/9.sce b/3651/CH3/EX3.9/9.sce
new file mode 100644
index 000000000..386932394
--- /dev/null
+++ b/3651/CH3/EX3.9/9.sce
@@ -0,0 +1,20 @@
+//Variable declaration
+e=1.6*10**-19; //charge of electron(coulomb)
+L=10**-10 //1Angstrom=10**-10 m
+n1=1;
+n2=2;
+n3=3;
+h=6.626*10**-34
+m=9.1*10**-31
+L=10**-10
+
+//Calculations
+E1=(h**2)/(8*m*L**2*e)
+E2=4*E1
+E3=9*E1
+//Result
+printf('The permitted electron energies =%0.3f *n**2 eV \n ',(E1))
+printf('E1=%0.3f eV \n ',(E1))
+printf('E2=%0.3f eV \n ',(E2))
+printf('E3=%0.3f eV \n ',(E3))
+printf('//Answer varies due to ing of numbers")