Well many laws use equations, and math uses equations. Programming also uses equations. I have the gravity equation set, but my problem right now is working with Newton's laws of motion (an object in motion currently DOES NOT stay in motion), and direction never changes. But I'm working on it. Just gotta find the proper math.