summaryrefslogtreecommitdiff
path: root/1694/CH3/EX3.2/EX3_2.sce
blob: 52e81e7fe71b3fd492273ba31a1df19a6af24812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear;
clc;
printf("\nEx3.2\n");
//page no.-121
//given
m=9.11*10^-31;.......//mass of electron in kg
h=6.63*10^-34;.......//planck's constant in J*s
a=10^-10;............//width of box in m
n=1;.................//quantum no. for least energy
e=1.602*10^-19;........//charge

E=(h^2)/8*m*a^2........//least energy in joules
//to convert into eV divide by 1.6*10^-19
printf("\nleast energy of particle is 5.68 joules");