document.write( "Question 968065: i need help with this question:\r
\n" ); document.write( "\n" ); document.write( "The number of bacteria doubles after 3 hours. If there are N bacteria to start with, find the number of bacteria in 24 hours?
\n" ); document.write( "

Algebra.Com's Answer #591649 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
it doubles every 3 hours.
\n" ); document.write( "this can be solved using either a continuous compounding function of f = p * e^(rn), or it can be solved using a discrete compounding formula of f = p * (1+r)^n.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "r is the interest rate per time period.
\n" ); document.write( "n is the number of time periods.
\n" ); document.write( "f is the future value
\n" ); document.write( "p is the present value
\n" ); document.write( "e is the scientific constant that is equal to 2.718281828.
\n" ); document.write( "it's an irrational number that has an endless number of decimal digits.
\n" ); document.write( "most often it is shown as such because the display number of digits on the calculator has a limitation of around 9 decimal digits.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the continuous compounding function is the one most often used, but i'll show you how to do it with both.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "using the continuous compounding formula, you would do the following.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation is f = p * e^(rn).
\n" ); document.write( "the number of bacterial doubles in 3 hours, so you would set:
\n" ); document.write( "p = 1
\n" ); document.write( "f = 2
\n" ); document.write( "n = 3
\n" ); document.write( "the formula of f = p * e^(rn) would become:
\n" ); document.write( "2 = 1 * e^(rn)
\n" ); document.write( "you would now need to solve for r.
\n" ); document.write( "you would normally divide both sides of the equation by p to get:
\n" ); document.write( "f/p = e^(rn) would become:
\n" ); document.write( "2 = e^(3r).
\n" ); document.write( "you would then take the natural log of both sides of the equation to get:
\n" ); document.write( "ln(2) = ln(e^(3r)).
\n" ); document.write( "since ln(e^(3r)) is equivalent to 3*ln(e), and since ln(e) is equal to 1, the equation would then become:
\n" ); document.write( "ln(2) = 3r.
\n" ); document.write( "you would then divide by 3 to get:
\n" ); document.write( "ln(2)/3 = r
\n" ); document.write( "you would then solve for r to get:
\n" ); document.write( "r = ln(2)/3 = .2310490602.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can confirm by replacing r in the original equation with .2310490602.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f = p * e^(rn) would become 2 = 1 * e^(.2310490602 * 3) which would then become 2 = 2.
\n" ); document.write( "this would confirm the solution for r is correct.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "now that you found r, you would use that to solve the problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "go back to the same equation and do the following:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f = p * e^(rn)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "set n = 24
\n" ); document.write( "set p = 1
\n" ); document.write( "set r = .2310490602\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "equation becomes:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f = 1 * e^(.2310490602 * 24)
\n" ); document.write( "solve for f to get:
\n" ); document.write( "f = 256\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the bacteria will be 256 times the original amount in 24 hours.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the continuous compounding formula will be the one most often used, but you can solve this problem using the discrete compounding formula as well.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's how you would solve it using the discrete compounding formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that formula is:
\n" ); document.write( "f = p * (1+r)^n\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f is the future value
\n" ); document.write( "p is the present value
\n" ); document.write( "r is the interest rate per time period.
\n" ); document.write( "n is the number of time periods.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you would do the following:
\n" ); document.write( "f = 2
\n" ); document.write( "p = 1
\n" ); document.write( "n = 3
\n" ); document.write( "the formula of f = p * (1+r)^n would become 2 = 1 * (1+r)^3
\n" ); document.write( "you would divide both sides of the equation by p to get:
\n" ); document.write( "2/1 = (1+r)^3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "note that, since p = 1, this step is not necessary, but p is not always equal to 1, so i'm showing you that step anyway.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2/1 = (1+r)^3 would become:
\n" ); document.write( "2 = (1+r)^3
\n" ); document.write( "you would raise both sides of tghe equation to the 1/3 power to get:
\n" ); document.write( "2^(1/3) = ((1+r)^3)^(1/3)
\n" ); document.write( "since ((1+r)^3)^(1/3) is equal to (1+r)^(3*1/3) which is e3qual to (1+r)^1 which is equal to 1+r, your equation would become:
\n" ); document.write( "2^(1/3) = 1 + r
\n" ); document.write( "solve for 1+r to get:
\n" ); document.write( "1+r = 2^(1/3) = 1.25992105
\n" ); document.write( "subtract 1 from that to get:
\n" ); document.write( "r = .25992105.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can confirm by replacing r in th eoriginal equation to get:
\n" ); document.write( "2 = 1 * (1.25992105)^3 becomes 2 = 2.
\n" ); document.write( "this confirms the value of r is good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "now that you found r, you can use it to solve the problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "set p = 1 and set n = 24 and set r = .25992105.
\n" ); document.write( "formula of f = 1 * (1+r)^n becomes:
\n" ); document.write( "f = 1 * (1.25992105)^24
\n" ); document.write( "solve for f to get:
\n" ); document.write( "f = 256.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you got the same answer, as you should if you did the process correctly.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the continuous compounding formula is, once again.
\n" ); document.write( "f = p * e^(rn)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f is the future value
\n" ); document.write( "p is the present value
\n" ); document.write( "e is the scientific constant of 2.718281828
\n" ); document.write( "r is the interest rate per time period.
\n" ); document.write( "n is the number of time periods.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the discrete compounding formuls is, once agakin.
\n" ); document.write( "f = p * (1+r)^n\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f is the future value
\n" ); document.write( "p is the present value
\n" ); document.write( "r is the interest rate per time period.
\n" ); document.write( "n is the number of time periods.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in your problem, the time periods were expressed in hours.
\n" ); document.write( "n was therefore the number of hours.
\n" ); document.write( "r was therefore the interest rate per hour.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );