Math functions!
handles divide by zero gracefully
handles divide by zero gracefully.
third argument is what to return when you divide by zero.