summaryrefslogtreecommitdiff
path: root/3651/CH1/EX1.6/Ex1_6.sce
blob: 07ec4881c507b50b41b3611ef9e909e3aa88b5ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//variable declaration 
I=5.14;                    //Ionization energy
A=3.65;                    //Electron Affinity
e=(1.6*10**-19);
E=8.85*10**-12; 
r=236*10**-12;

//Calculations
E_c=I-A                        //Energy required
C=-(e**2/(4*%pi*E*r*e))    //Potentential energy in eV
BE=-(E_c+C)                    //Bond Energy
//Result
printf('Energy required= %0.2f eV\n",E_c)
printf('Energy required =%0.1f eV\n",C)
printf('Bond Energy =%0.2f eV",BE)