summaryrefslogtreecommitdiff
path: root/3850/CH43/EX43.1/Example43_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH43/EX43.1/Example43_1.sce')
-rw-r--r--3850/CH43/EX43.1/Example43_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3850/CH43/EX43.1/Example43_1.sce b/3850/CH43/EX43.1/Example43_1.sce
new file mode 100644
index 000000000..be97f6e3d
--- /dev/null
+++ b/3850/CH43/EX43.1/Example43_1.sce
@@ -0,0 +1,17 @@
+//Calculate the Energy of Helium ion its first excited state
+
+//Example 43.1
+
+clear;
+
+clc;
+
+Rhc=13.6;//Product of Rydberg's Constant, Plancks Constant and Speed of Light (Rhc) in eV
+
+Z=2;//Atomic Number for Helium Ion
+
+n=2;//First Excited State
+
+E=-Rhc*Z^2/n^2;//Energy of Helium Ion in the first excited state in eV
+
+printf("Energy of Helium Ion in the first excited state = %.1f eV",E);