Results 1 to 6 of 6

Thread: [Resolved] Easy Question, The Sequel

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    [Resolved] Easy Question, The Sequel

    Okay, I'm presented with this problem:

    The half-life of element X is 9 hours. If 80mg are present now, how much will exist after 2 days?
    So I used the formula A(t) = A0 * e ^ kt

    Code:
    .5 = e ^ 9k
    ln .5 = 9k
    k = ln (.5)/9
    k = -0.0077
    So now I have A(t) = A0 * e ^ -.0077t

    So I do:

    Code:
    A = 80e ^ -.0077(48)
    A = 3810.55
    Which obviously isn't correct. What am I doing wrong?
    Last edited by The Hobo; Nov 5th, 2002 at 12:18 AM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Nevermind.

    I forgot to put these parenthesis:

    Code:
    A = 80e ^ (-.0077(48))
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    hmm...that gives me 55.28, which still doesn't seem right. Any ideas?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    k = -0.0077
    -0.0770
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by kedaman
    -0.0770
    Bah. Thanks kedaman
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    'twas an optical illusion ..waaaah.. liquidgeneration sabotage!
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width