p=100; t=2*3600; disp("t=") disp(t) // in seconds disp("sec") e=p*t; disp("e=") disp(e) units='Joules J' e1=[string(e) units]; disp(e1) // in joules // energy is 720000joules