clc //initialisation dx=10^-11//m c=10^7//m/sec h=6.6*10^-34 //CALCULATIONS dp=(9.1*10^-31*c) n=(2*dx*dp*100)/h //results printf(' \n number of quantum states available= % 1f ',n)