HEY EVERYBODY!

I'm trying to make a soccer 2D game for someone and there's a problem with the physics i'm trying to implement. (Too bad we don't learnt how to implement physics equations into code at school!) I wan't to make a ball that bounces like a normal ball in real life. So with friction, and gravity so that it doesn't keep bouncing for ever! I also want to make it so that when one of the players applies a force onto it, I want it to fly like a ball does when you head it! Any ideas? What equations must I use and how must I implement them? THANK YOU!