document.write( "Question 1155263: james has 30cents and Tom has $1.86 . If James saves 5 cents a day and Tom spends 7 cents a day ,after how many days will they have equal amounts? \n" ); document.write( "
Algebra.Com's Answer #777833 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
x = number of days.
\n" ); document.write( "j = number of cents that james had.
\n" ); document.write( "t = number of cents that tom has.
\n" ); document.write( "formula for james is j = 30 + 5x
\n" ); document.write( "formula for tom is t = 186 - 7x
\n" ); document.write( "everything is in cents.
\n" ); document.write( "they will have equal amounts when j = t
\n" ); document.write( "when j = t, 30 + 5x = 186 - 7x
\n" ); document.write( "your formula to solve is 30 + 5x = 186 - 7x
\n" ); document.write( "subtract 30 from both sides of this equation and add 7x to both sides of this equation to get:
\n" ); document.write( "5x + 7x = 186 - 30
\n" ); document.write( "combine like terms to get:
\n" ); document.write( "12x = 156
\n" ); document.write( "divide both sides of this equation to get:
\n" ); document.write( "x = 156 / 12
\n" ); document.write( "solve for x to get x = 13
\n" ); document.write( "they will have the same amount of money in 13 days.
\n" ); document.write( "that should be your answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you could have also done the same problem dealing with dollars rather than cents.
\n" ); document.write( "in that case:
\n" ); document.write( "formula for james is j = .3 + .05x
\n" ); document.write( "formula for tom is t = 1.86 - .07x
\n" ); document.write( "they will have the same amounts when j = t.
\n" ); document.write( "in that case, .3 + .05x = 1.86 - .07x
\n" ); document.write( "subtract .3 from both sides of this equation and add .07x to both sides of this equation to get:
\n" ); document.write( ".05x + .07x = 1.86 - .3
\n" ); document.write( "combine like terms to get:
\n" ); document.write( ".12x = 1.56
\n" ); document.write( "divide both sides of this equation by .12 to get:
\n" ); document.write( "x = 1.56 / .12
\n" ); document.write( "solve for x to get x = 13
\n" ); document.write( "same solution, just dealing with dollars rather than cents.
\n" ); document.write( "
\n" ); document.write( "
\n" );