summaryrefslogtreecommitdiff
path: root/3523/CH3/EX3.7.12/Ex3_12.sce
blob: 9890502cb76e0d6ccae25884071280ec5cca0cee (plain)
1
2
3
4
5
6
7
8
9
10
//Example 12// Ch 3
clc;
clear;
close;
// given data
c=3*10^8;
h=4.15*10^-15;
lmax=1000*10^-10;
We=(c*h)/lmax;
printf("binding energy of gas %f eV",We)