function U = generateGravitationalPotential(positions, m) GravitationalAcceleration = 9.80553; U = m * GravitationalAcceleration * positions; end