summaryrefslogtreecommitdiff
path: root/3850/CH43/EX43.3/Ex43_3.sce
blob: b229330024bb738f95b4761f7b32f193d6d2d776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23


//To Calculate the Energy needed to remove the electron from the ion

//Example 43.3

clear;

clc;

E1=40.8;//Excitation Energy of Hydroen like ion inits first excited state in eV

K=13.6;//Value of constant Rhc = 13.6 eV

n1=1;//n=1 for the first orbit

n2=2;//n=2 for the second orbit

Z=sqrt(E1/(K*((1/n1^2)-(1/n2^2))));//Atomic Number of Hydrogen like ion

E=-K*Z^2;//Energy needed to remove the electron from the ion in eV

printf("Energy required to remove the electron from the ion = %.1f eV",E);