MOVED: Plz help with math

This topic has been moved to Programming Questions.