how the janitor calculates to throw the basketball