clc //Intitalisation of variables clear e1= 0.31 //volt e2= 0.78 //volt //CALCULATIONS e= e1+e2 //RESULTS printf ('Decomposition voltage = %.2f ',e)