document.write( "Question 324274: Suppose Wal-Mart stock is selling at $59 a share,and Mattel stock is selling at 28 a share. Amy has a maximum of $6000 to invest. she wishes to purchase four times as many shares of Wal-Mart as Mattel. Only whole shares of stock can be purchased.
\n" ); document.write( "A) how many shares of each will she purchase?
\n" ); document.write( "B) how much money will be left over.
\n" ); document.write( "I have tried figuring it out but can not.
\n" ); document.write( "

Algebra.Com's Answer #232091 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
Wal-Mart stock $59 a share,
\n" ); document.write( "Mattel stock 28 a share.
\n" ); document.write( "Amy has a maximum of $6000 to invest.
\n" ); document.write( "she wishes to purchase four times as many shares of Wal-Mart as Mattel
\n" ); document.write( "..
\n" ); document.write( "let Mattel shares she buys be x
\n" ); document.write( "Mattel stock 28 a share.
\n" ); document.write( "Wal-Mart will be 4x
\n" ); document.write( "Wal-Mart stock $59 a share,
\n" ); document.write( "Amount invested = $ 6000
\n" ); document.write( "..
\n" ); document.write( "28x+59*4x<6000
\n" ); document.write( "28x+236x<6000
\n" ); document.write( "264x< 6000
\n" ); document.write( "x< 6000/264
\n" ); document.write( "x<22.4
\n" ); document.write( "So she buys 22 shares of Mattel
\n" ); document.write( "Wal-Mart will be 4x = 4*22=88 shares\r
\n" ); document.write( "\n" ); document.write( "88*59 +22*28= 5808
\n" ); document.write( "6000-5808=192
\n" ); document.write( "She has $192 balance after buying 22 shares of Mattel & 88 shares of Wal-Mart.\r
\n" ); document.write( "\n" ); document.write( "CHECK
\n" ); document.write( "IN the balance $192 she cannot buy 1 share of Mattel & 4 shares of Wal-Mart which will cost 59*4 +28*1=$264
\n" ); document.write( "
\n" );