SOLUTION: The “int()” operator in your calculator is the “greatest integer function.” It returns the greatest integer less than or equal to the operand and is written using square b

Algebra.Com
Question 1175279: The “int()” operator in your calculator is the “greatest integer function.” It returns the
greatest integer less than or equal to the operand and is written using square brackets: [x]
or [[x]]. For example, it would give back 82 for [[82.976]].
In Smalltown, AZ the students receive grade points as follows:
4.0 for any grade 90% or higher. [90,100)
3.0 for any grade 80% or higher. [80,90)
2.0 for any grade 70% or higher. [70,80)
1.0 for any grade 60% or higher. [60,70)
(Notice: students NEVER fail! And students never get 100%!)
A. Write a function that correctly returns grade points for gradesfrom 60% to 100%. (78.45
should give a 2.0). Is your function even, odd, or neither?

Answer by Theo(13342)   (Show Source): You can put this solution on YOUR website!
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



RELATED QUESTIONS

The Greatest integer function... (answered by solver91311)
what is the greatest integer... (answered by stanbon)
Find the greatest integer that is less than the value of the logarithm. Use your... (answered by ikleyn)
Find three consecutive integers such that twice the greatest integer is 6 less than 3... (answered by lwsshak3)
find three consecutive integers such that twice the greatest integer is three less than... (answered by CubeyThePenguin)
Find three consecutive integers such that twice the greatest integer is 2 less than 3... (answered by CubeyThePenguin)
Find three consecutive even integers in which the greatest integer is 17 less than 2... (answered by stanbon)
What is the greatest integer solution of |2x+3|-4 less than or equal to... (answered by stanbon)
what is the greatest integer less than or equal to (2+square root of... (answered by ikleyn)