Herman Trivilino said:
It's not the acceleration itself that increases the energy. It's the force, and only if that force continues to act after the collision
Exactly. If the Force is enough to keep the object accelerating after / during contact (especially at the same rate) then it would need to
increase to keep up with the extra work. Newton 2 tells you that. So, to deal with the acceleration factor, you would need to know the masses of the object and the target (you can't just assume the Earth as the target because there will still be distortion. In addition, if you really want to solve the problem, you need to know about the deformation(s) and the modulus - in fact, the whole dinner menu.
The point I have already made is that the requirement for constant velocity or acceleration is the major sticking point. The OP wanted help with appropriate Formulae. Unfortunately, for a complete solution, you have to be using the appropriate formulae at each stage and to have the actual
`Physics in mind' before launching into calculations.
There are a thousand and one scenarios that can be discussed without all that aggro and the answers set you a long way on the road to understanding this stuff. Inventing a random problem can be pretty difficult if you don't know enough to start with. This is why we learn things using tried and tested problems - very demanding for someone who wants a quick answer, unfortunately.
If this stuff were easy, they insurance companies and Forensic police would often find it easy to decide whose fault 'it' was. Instead they have to use masses of past evidence - tables etc. to decide the sort of thing the OP was asking for.