how increase the jump based on the speed of fall ? for example like a trampoline

Hi guys, how increase the jump based on the speed of fall ? for example like a trampoline

Using physics or manually coding the speed? Physics materials have bounce/restitution (forgot which word is used)

Manually coding the speed, for example, my character falls from a height of 10 meters on a trampoline, bouncing receives an upward thrust proportional to the height from which it has fallen. If the character had fallen by 20 meters, it would have received a double boost compared to the previous fall.
I explained well ? (sorry for my english)

Hey guy, i found in internet an example of what I would do

Can help me with the script please ?