v=120; i=3; t=12; e=v*i*t; disp("energy supplied by the source (in J) is"); disp(e);