Results 1 to 8 of 8

Thread: Log()

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2003
    Posts
    114

    Log()

    Does anyone know how to calculate the LOG of a number without using the LOG function in VB or on a calculator?

    For example, I use Log(num) to get a result but what calculation is performed to do that? If I learned it, I forgot how.

    Thanks for any help.
    I can do all things with VB.

  2. #2
    Fanatic Member siyan's Avatar
    Join Date
    Jul 2001
    Location
    GOOOAAAAALLLLL!!!!!
    Posts
    869
    Unite, proletariat!

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    33
    Also, Logarithms are inverses of exponential functions. Therefore if E^x=q then logEq=x and can be solved by a "change of base" or logE/logq = x.


    Chris

  4. #4
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810
    Originally posted by BillyYank42
    Also, Logarithms are inverses of exponential functions. Therefore if E^x=q then logEq=x and can be solved by a "change of base" or logE/logq = x.


    Chris
    But you still used Log function.

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    33
    All I was saying was that if you did (e^x)^-1 that it would be the same as doing a log.


    Chris

  6. #6
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    ThomasJones: There are probably some power series which can be used. A Web Search or a trip to a good library should provide the coefficients. The first post by BillyYank42 could be used, but might be a bit more time consuming than other methods. I am not sure what he meant by his second post: Reciprocal of exponential or inverse of exponential.

    As suggested by BillyYank42, solve ex - Number = 0

    When a value is found for the above, x = ln(Number) Id Est: Loge(Number) = x

    You can find a value for x using the Newton method of successive approximations.

    Note that ex is the derivative of F(x) = ex - Number, which is required when using the Newton method.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  7. #7
    Member
    Join Date
    Mar 2003
    Posts
    33
    inverse of exponential.


    Chris

  8. #8
    Fanatic Member evexa's Avatar
    Join Date
    Apr 2003
    Location
    USA
    Posts
    609

    Ill give this one a shot

    Log (base5) 25
    is basically - the power to which 5 is raised to get 25.
    which is 2.
    You don't want to use a calculator AT ALL?
    Trust no one

    ----------------------------------------
    http://www.eccentrix.com/members/xeaudrey/exanegotium.html
    http://www.eccentrix.com/members/xeaudrey/

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