blob: 92dd917fee3c594adf42f419367bb54ef8877374 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear
//
//
//
//Variable declaration
L=3*10**-10 //length(m)
m=9.1*10**-31 //mass(kg)
e=1.6*10**-19 //charge(c)
h=6.63*10**-34 //plank constant
//Calculation
E1=h**2/(8*m*e*L**2) //minimum energy(eV)
//Result
printf("\n minimum energy is %0.1f eV",E1)
|