I want to have elastic collisions in my Newtonian physics simulator, but in the one physics class I've taken we only used momentum when analyzing elastic collisions, and my simulator is totally force-based.
If two pointlike objects are colliding with given velocities and masses, what forces should I have them exert on each other in order to simulate a perfectly elastic collision?