blob: 3bd7490513289ed52b819eeffc8ddd7b5b180194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc//
//
//
//Variable declaration
IPk=4.1; //IP of K(eV)
EACl=3.6; //EA of Cl(eV)
e=1.602*10^-19; //charge of electron(c)
onebyepsilon0=9*10^9;
//Calculation
deltaE=IPk-EACl;
Ec=deltaE; //energy required(eV)
R=e*onebyepsilon0/deltaE; //seperation(m)
//Result
printf("\n energy required is %0.3f eV",Ec)
printf("\n seperation is %0.2f nm",R*10^9)
|