velocity method

  1. @override
double velocity(
  1. double time
)
override

The change in value of the object in the simulation at the given time.

Implementation

@override
double velocity(double time) => simulation.dx(time);