Thread: how do i use ln function in c programming

  1. #1
    Registered User
    Join Date
    Dec 2010

    Question how do i use ln function in c programming

    ok so im new to programming and im using the microsoft visual studio c++.

    i need to do the equation t=(-R*C) * ln(1-VC/VS) however i have no idea how to include the ln function, i have included the cmath library in the header file and i've searched it and can't find how to include it in my programme.

    Any help would be appreciated


  2. #2
    Registered User
    Join Date
    May 2010
    If you are using C++, pls post to C++ forum.

    The log() function returns the natural logarithm of x.

  3. #3
    Registered User jadaces's Avatar
    Join Date
    Jun 2010
    You have to make it yourself It's simple

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 04:25 AM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM