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");