document.write( "Question 763000: Joanie got money from her uncle on every birthday. The amount of money he gives her is equal to her new age. (When she turned 5 he gave her $5, when she turned 7 he gave her $7, etc) She always put the money in a special box, rather than spend it. She now has $2145 in the box. How old is she? \n" ); document.write( "
Algebra.Com's Answer #464407 by ramkikk66(644)\"\" \"About 
You can put this solution on YOUR website!
If she is n years old, the money she would have got so far = \r
\n" ); document.write( "\n" ); document.write( "1+2+3+4....+n = 2145\r
\n" ); document.write( "\n" ); document.write( "The left side is an arithmetic progression with 1st term as 1, difference as 1 and n terms. (It is in fact the sum of the 1st n integers starting from 1)\r
\n" ); document.write( "\n" ); document.write( "It is given by n*(n+1)/2 = 2145\r
\n" ); document.write( "\n" ); document.write( "\"n%2A%28n%2B1%29%2F2+=+2145\"\r
\n" ); document.write( "\n" ); document.write( "Simplifying, \"n%5E2+%2B+n+-+4290+=+0\"\r
\n" ); document.write( "\n" ); document.write( "Factorizing:\r
\n" ); document.write( "\n" ); document.write( "\"%28n%2B66%29%2A%28n-65%29+=+0\"\r
\n" ); document.write( "\n" ); document.write( "n = -66, or n = 65.\r
\n" ); document.write( "\n" ); document.write( "Since age cannot be negative, Joanie is \"highlight%2865%29\" years old.\r
\n" ); document.write( "\n" ); document.write( "The above quadratic equation also be solved using the standard formula as shown below, which gives the solutions as n = -66 or n = 65.\r
\n" ); document.write( "\n" ); document.write( ":)\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B1x%2B-4290+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%281%29%5E2-4%2A1%2A-4290=17161\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=17161 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-1%2B-sqrt%28+17161+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%281%29%2Bsqrt%28+17161+%29%29%2F2%5C1+=+65\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%281%29-sqrt%28+17161+%29%29%2F2%5C1+=+-66\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B1x%2B-4290\" can be factored:
\n" ); document.write( " \"1x%5E2%2B1x%2B-4290+=+1%28x-65%29%2A%28x--66%29\"
\n" ); document.write( " Again, the answer is: 65, -66.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B1%2Ax%2B-4290+%29\"

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );