blob: 7fe677f8935726119602f8e3e36e35a46c418f0f (
plain)
1
2
3
4
5
6
7
8
9
|
//Initialisation of variables
clc
Z=1
m=9.11e-31//kg
e=1.6e-19//coulomb
o=8.85e-12//farad per metre
h=6.625e-34//joule sec
V=Z^2*m*e^3/(8*o^2*h^2)
printf('ionization potential is %f volts \n',V)
|