Math
posted by Jasmine on .
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?

Say he bought n shares for $x of 1st stock.
nx = 28000
(n+6)(x6) = 28000
nx+6x6n36 = 28000
we know nx=28000, so
6x6n = 36
xn=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