[QUOTE=Del_Andrews]
Price of a pear = x
Price of a peach = x+0.05X, or 1.05x
Quantity of pears = A
Quantity of peaches = B
Ax+1.05Bx=7.99
It seems that there is not enough information provided to solve the problem. I must solve for three variables in one eqation, which seems impossible given no other equation. (Quantities are not given in the problem).
Am I missing something; or is this truly unsolvable.
(I know the answer as I ultimately looked it up in the back of the book; but I still can’t find a way to solve the problem).
[/QUOTE]
You also know (using your notation) that A and B are positive integers and that whatever value x (the price of the pear) is, adding 5% to it must produce an exact value in dolars in cents, e.g. x can’t be 62 cents, since 5% of 62 is 3.1 cents, a non-integer value.
Thus, x must be a multiple of .20 (the smallest value x where 5% of x is an integral number of cents). Set x = .20y, where y is an integer. Using your equation:
A(.20y) + 1.05B(.20y) = 7.99
(A + 1.05B)y = 39.95
Multiply thru by 100 and divide by y:
100A + 105B = 3995/y
Thus, y must be a factor of 3995 = 51749. Thus, the only values allowed for y are 1, 5, 17, 49, 85, 245, 799, or 3995. Since x must be less than 7.99 => y< 39.95, y is limited only to the first three values 1, 5, and 17.
y=17 leads to prices of 3.40 and 3.57 for the two fruits. You’d have to by at least 7 peaches to get a total that ends in 9, and that’s going to be higher than 7.99, so this value is out. y=5 leads to prices of 1.00 and 1.05,m and no combination of these leads to a price that ends in 9, so that value is out as well.
Consequentially, y=1 => x=.20. The pears must cost .20 and the peaches .21, so to get a total that ends in 9 you had to have sold 9, 19, or 29 peaches (If you sell more than 38 peaches, you collect more than $7.99)
Selling 9 peaches nets you 1.89, meaning you had to sell 6.10 worth of pears. But this is impossible, since pears sell for .20 each. Ditto 29 peaches, which would net 6.09, and you can’t sell 1.90 worth of pears if they sell for .20 each. Thus, you must have sold 19 peaches, collecting 3.99, and sold 20 pears to cover the other $4.
Pears = sold 20 @ .20 each
Peaches = sold 19 @ .21 each