summaryrefslogtreecommitdiff
path: root/3840/CH1/EX1.1/Ex1_1.sce
blob: 6c4986b1d5898863dbbf81bdec0327604d94ff6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clear
//
//
//

//Variable declaration
e=1.6*10**-19      //charge(coulomb)
epsilon0=8.85*10**-12   
r0=236*10**-12     //equilibrium distance(m)
I=5.14             //ionisation energy(eV)
EA=-3.65           //electron affinity(eV)

//Calculation
V=-(e**2)/(4*e*%pi*epsilon0*r0)   //potential(eV)
BE=I+EA+V          //bond energy of molecule(eV)

//Result