Comparing Cart Energies

Three test carts have masses and speeds stored in matching row vectors:


MATLAB
m = [1.20 1.50 1.80];    % kilograms
v = [2.40 3.20 4.00];    % metres per second


Each cart has kinetic energy E=12mv2E=\tfrac12 mv^2. Form the array of kinetic energies using MATLAB array arithmetic, then determine how much greater the third cart's energy is than the second cart's energy.


Enter the positive energy difference in joules, to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Mathematical Operations with Arrays Questions: