Here are a couple of situations where you might want to do that:
1. Investing money (say a "principal" of $P) at a rate of 4% compounded
annually yields an amount $A which is given after t years by
A=P(1.04)^t. So if you want to find how long it will take to double your
money you need to find t satisfying A=2P ie P(1.04)^t=2P. Cancelling the
Ps gives (1.04)^t=2 so t is the logarithm base 1.04 of 2.
2. For a radioactive sample of half life 6 years which is now emitting
10 times the "safe" level of radiation it may be fairly clear that
after 6 years the amount of radiation is 5 times the safe level, after
12 years it is down to 2.5 times, and so on. So we can see that the time
when the safe level is reached is somewhere between 18 and 24 years, but
by using logarithms we can get a more exact answer. In fact we need to
wait exactly t years where (1/2)^(t/6)=(1/10) so t/6= log(base0.5)of(0.1).
Using properties of logarithms (which are just the exponent laws
"translated" into log language) it is possible to express these answers
in terms of the "common"(base 10) or "natural"(base e) logarithms that
are provided on a typical calculator.
The "naturalness" of that weird number e arises from a couple of neat
properties. One has to do with what happens in the case of compound
interest when we go from annual comounding to semi-annual to monthly to
daily and so on to the limiting case of "continuous compounding". And
the other has to do with properties of the graph of the function f(x)=e^x
You might be able to find more applications and illustrations of the e
business by checking out what is available at the College Math Resources
website (http://qpr.ca/math/resources)
I hope some of this helps a bit.
cheers,
Alan
I feel the same way about busy with work and the thread staying open
and long running. :0
I'll reply with more about the math stuff tomorrow, gotta sleep now!
Joe
In algebraic form this is T(n) ≤ 2T(n-1)+1
(if you are reading this as html ≤ will be the "less than or equal"
sign, which in comp sci is often writen as <=, and I don't know if the
numeral 6 which you had is a misprint or a misreading from unclear print)
cheers,
Alan
>> In algebraic form this is T(n)≤ 2T(n-1)+1
>> (if you are reading this as html≤ will be the "less than or equal"
BTW, 1- is a lisp function for "subtract one". (- 1 num) would be "subtract
num from 1", typically different.
(1- NUMBER)
Return NUMBER minus one.
On 2010.10.09 10:07 AM, Alan Cooper wrote:
> You're right I misread the description "successively subtracts from
> the first all the others" as "successively subtracts the first from
> all the othes" (and failed to check the example which would have shown
> me I had it wrong)
>
> On 2010.10.09 3:49 AM, Joe Corneli wrote:
>> Hi all, I guess I'll leave the discussion to you for the moment, but
>> btw for
>> those who want to follow along but haven't bought the book, I happen
>> to have noticed that it's currently available online as a PDF, just
>> google
>> for "concrete mathematics". I assume you'll try before you buy, because
>> the book is one we will all want to own eventually :)
>>
>> BTW, 1- is a lisp function for "subtract one". (- 1 num) would be
>> "subtract
>> num from 1", typically different.
>>
>> (1- NUMBER)
>>
>> Return NUMBER minus one.
>>
>> On Sat, Oct 9, 2010 at 6:56 AM, Alan Cooper<al...@qpr.ca> wrote:
>>> etc etc etc
>