Question: In Newtonian physics, we know that two velocities in the same direction add to each other; in the opposite direction, they subtract from each other to give a net result in the direction of the bigger velocity. Design a simple class called Velocity that has a field for the speed in meters per second (forget about the direction for now). The default constructor would work with meters/sec metric. Write a constructor that takes three parameters:
a) distance,
b) time,
c) whether the velocity is in meters/sec or feet/sec.
This constructor should accordingly convert the feet/sec into meters/sec. Create addition and subtraction operators for velocity. A more advanced version of this class would consider the directions other than same or opposite directions.