Michael purchased a certain number of share of one stock for a total of $2800. The second stock was selling for $6 less per share . Michael could have bought 6 more shares of the second stock for the same amount of money. How many shares of the first stock did Michael purchase? How much did each share cost?

2 answers

Say he bought n shares for $x of 1st stock.

nx = 28000
(n+6)(x-6) = 28000

nx+6x-6n-36 = 28000
we know nx=28000, so
6x-6n = 36
x-n=6
now, n=28000/x, so
x - 28000/x = 6
x^2 - 6x - 28000 = 0
x = 3±√28009
x = 170.36

164.36*170.36 = 28000.37
170.36*164.36 = 28000.37

Odd that the solution was not integers
she bought 50 shares at the cost of 56. Yay