summaryrefslogtreecommitdiff
path: root/3769/CH24/EX24.9/Ex24_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH24/EX24.9/Ex24_9.sce')
-rw-r--r--3769/CH24/EX24.9/Ex24_9.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH24/EX24.9/Ex24_9.sce b/3769/CH24/EX24.9/Ex24_9.sce
new file mode 100644
index 000000000..decfd7bb8
--- /dev/null
+++ b/3769/CH24/EX24.9/Ex24_9.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+n=2.0
+n1=3.0
+
+//Calculation
+E2=-13.6/n**2
+E3=-13.6/n1**2
+
+//Result
+printf("\n Energies of two energy level is %0.3f ev and %0.2f ev",E2,E3)