document.write( "Question 316385: S= -3.5n^2+42n+45. S=number of thousands of dollars of sales in week n.
\n" ); document.write( "When do you expect the sales to peak?
\n" ); document.write( "What is the largest value for the sales during the week?
\n" ); document.write( "During what week do we expect the sales to drop to zero?
\n" ); document.write( "

Algebra.Com's Answer #226369 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
S= -3.5n^2+42n+45. S=number of thousands of dollars of sales in week n.
\n" ); document.write( "When do you expect the sales to peak?
\n" ); document.write( "vertex gives you the max.
\n" ); document.write( "axis of symmetry:
\n" ); document.write( "n = -b/(2a) = -42/(2*(-3.5)) = -42/-7 = 6
\n" ); document.write( "It will peak at n=6 or the sixth week
\n" ); document.write( ".
\n" ); document.write( "What is the largest value for the sales during the week?
\n" ); document.write( "S= -3.5n^2+42n+45
\n" ); document.write( "set n=6
\n" ); document.write( "S= -3.5*6^2+42(6)+45
\n" ); document.write( "S= -3.5*36+252+45
\n" ); document.write( "S= -126+252+45
\n" ); document.write( "s= 171 (thousands of dollars)
\n" ); document.write( ".
\n" ); document.write( "During what week do we expect the sales to drop to zero?
\n" ); document.write( "set S = 0 solve for n:
\n" ); document.write( "S= -3.5n^2+42n+45
\n" ); document.write( "0= -3.5n^2+42n+45
\n" ); document.write( "Applying the quadratic formula yields:
\n" ); document.write( "n = {-0.99, 12.99}
\n" ); document.write( "We can toss out the negative answer leaving:
\n" ); document.write( "n = 12.99 weeks
\n" ); document.write( ".
\n" ); document.write( "Detail of quadratic follows:
\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 \"an%5E2%2Bbn%2Bc=0\" (in our case \"-3.5n%5E2%2B42n%2B45+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"n%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=%2842%29%5E2-4%2A-3.5%2A45=2394\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=2394 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-42%2B-sqrt%28+2394+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"n%5B1%5D+=+%28-%2842%29%2Bsqrt%28+2394+%29%29%2F2%5C-3.5+=+-0.98978847012861\"
\n" ); document.write( " \"n%5B2%5D+=+%28-%2842%29-sqrt%28+2394+%29%29%2F2%5C-3.5+=+12.9897884701286\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"-3.5n%5E2%2B42n%2B45\" can be factored:
\n" ); document.write( " \"-3.5n%5E2%2B42n%2B45+=+-3.5%28n--0.98978847012861%29%2A%28n-12.9897884701286%29\"
\n" ); document.write( " Again, the answer is: -0.98978847012861, 12.9897884701286.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+-3.5%2Ax%5E2%2B42%2Ax%2B45+%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );