1 2 3 4 5 6
clc clear //Solving the problem Q=84-8.4-21+4.2; printf('The Net Work Done= %2.1f kJ',Q); //Displaying result