The given data from the question can be listed as,

mass m = 2kg

Total Energy E = 40J

To find , Maximum speed i.e


Solution -
The equation for total energy can be written as ,






But the maximum velocity can be written as,