The total amount Edgar paid for a slice of pizza and a tip of exactly 24% was between $\$2.50$ and $\$3.00$. What was the price of the pizza slice?
Well, I did the trial and error method and managed to get $\$2.25$, but I feel like there'd be a more mathematical way to solve this. For example, if the price was $x$, then I could try solving it as $2.5 < 1.24 x < 3$, but that doesn't necessarily make the problem easier, I think. And above all, it may be easier if I could use a calculator for this question, but I'm not allowed to, so I'd like to find a way to solve this without a calculator...
Uh, just to avoid confusion, there wasn't any limit, but how I understand the problem is that 1.24x (the x here is the same variable I used above)should terminate right at the hundredth digit...?
Well, note that $2.5=\frac{5}{2}$, and that $1.24=\frac{31}{25}$.
Dividing the two gives us that $x>\frac{125}{62}$, and in the same method we earn $x<\frac{75}{31}$.
The decimal expression for each is $2.01612\dots$, and $2.419354 \dots $.
If you could only pay the original money with cents, the values would be $2.02$,$2.03$, $\dots$ $2.41$ dollars.
If you could pay with dimes, the values would be $2.1$, $2.2$, $2.3$, $2.4$ dollars.
If you could pay with quarters, the only value would be $2.25$ dollars.
But in order for the tip $0.24x=\frac{6x}{25}$ to be an integer, then $x$ needs to be divisible by $25$, so you have to pay with quarters.