SOLUTION: how to total 21 using the numbers 15, 9, 7, 2

Algebra ->  Sequences-and-series -> SOLUTION: how to total 21 using the numbers 15, 9, 7, 2      Log On


   



Question 959819: how to total 21 using the numbers 15, 9, 7, 2
Answer by Edwin McCravy(20059) About Me  (Show Source):
You can put this solution on YOUR website!
You have to use the "integer part" function, sometimes called the
"floor function".  For positive numbers it's the "round down" function,
which means you round down to the largest integer that does not exceed
the number you're rounding down.

int(15*9/7+2) = int(21.2857142857) = 21

That's the best you can do.

Edwin