Let
f(x) = x if x is rational
f(x) = x^2 if x is irrational
Find f(-8) + f(-pi) + f(50) + f(9/2)
Determine whether each number is rational or not, so you can determine its function values.
f(-8) + f(-pi) + f(50) + f(9/2) = -8 + pi^2 + 50 + 9/2 = 93/2 + pi^2