how to find total time in physics code example Example: distance formula physics s = ut + 1/2 * a * t^2