clc //initialisation of variables i= 54.4 //ev i1= 24.6 //ev k= 2.5 //CALCULATIONS I= i/(4*k^2) I1= i1/(4*k^2) d= I-I1 //RESULTS printf (' difference between first and second potential= %.1f ev',d)