//Variable declaration e=1.6*10**-19; //charge of electron(coulomb) L=10**-10 //1Angstrom=10**-10 m n1=1; n2=2; n3=3; h=6.626*10**-34 m=9.1*10**-31 L=10**-10 //Calculations E1=(h**2)/(8*m*L**2*e) E2=4*E1 E3=9*E1 //Result printf('The permitted electron energies =%0.3f *n**2 eV \n ',(E1)) printf('E1=%0.3f eV \n ',(E1)) printf('E2=%0.3f eV \n ',(E2)) printf('E3=%0.3f eV \n ',(E3)) printf('//Answer varies due to ing of numbers")