There is a simple inequality problem.
a and b are integers.
-4 < a < 5
-2 <= b < 6
what is the biggest value of 2a-b ?
I solved in this way.
-8 < 2a < 10
-6 <= -b < 2
and found this => -14 < 2a-b < 12
My answer is 11. But it is incorrect. The correct answer is 10.
But I wonder the reason. I think I solved this problem in proper way.
a and b are integers.
-4 < a < 5
-2 <= b < 6
what is the biggest value of 2a-b ?
I solved in this way.
-8 < 2a < 10
-6 <= -b < 2
and found this => -14 < 2a-b < 12
My answer is 11. But it is incorrect. The correct answer is 10.
But I wonder the reason. I think I solved this problem in proper way.