summaryrefslogtreecommitdiff
path: root/446/CH8/EX8.1/8_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '446/CH8/EX8.1/8_1.sce')
-rwxr-xr-x446/CH8/EX8.1/8_1.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/446/CH8/EX8.1/8_1.sce b/446/CH8/EX8.1/8_1.sce
new file mode 100755
index 000000000..5dd642e59
--- /dev/null
+++ b/446/CH8/EX8.1/8_1.sce
@@ -0,0 +1,6 @@
+clear
+clc
+disp('Exa-8.1');
+hc=1240*10^-9;Rinfi=1.097*10^7;Z=11; //for sodium atom;and other constants in MeV
+delE=3*hc*Rinfi*(Z-1)^2/4 //change in energy
+printf('The energy of the Ka x-ray of the sodium atom is %.3f KeV.',delE/10^3);