Question 1175279
you would use a piecewise function to solve this.


if you let x equal the grade received, then your piecewise function would be:


f(x) = 4 if x = int(90)
f(x) = 3 if x = int(80)
f(x) = 2 if x = int(70)
f(x) = 1 if x = int(60)


as stated in the problem, x could never be 100 and x could never be less than 60 because a grade less than 60 would mean failing.


some examples:


if you got a 97.5, int(x) would be 90 and your grade would be 4.
if you got an 89.999999999, int(x) would be 80 and your grade would be 3.
if you got a 70, int(x) would be 70 and your grade would be 2.
if you got 60.000000000001, int(x) would be 60 and your grade would be 1.


if you want to use the square brackets to indicate the int function, then it would look like this.


f(x) = 4 if [x] = 90
f(x) = 3 if [x] = 80
f(x) = 2 if [x] = 70
f(x) = 1 if [x] = 60