Who To Do In C Or C++ E^x?

who to do in c or c++ e^x?

Page 1 of 1

4 Replies - 7530 Views - Last Post: 04 January 2005 - 10:44 AM Rate Topic: -----

#1 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Who To Do In C Or C++ E^x?

Posted 22 December 2004 - 03:26 PM

i got a nerula network coure and i have to do (1/(1-e^-(x))) who can i do it in c or c++ thanks
Is This A Good Question/Topic? 0
  • +

Replies To: Who To Do In C Or C++ E^x?

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: Who To Do In C Or C++ E^x?

Posted 22 December 2004 - 06:57 PM

Could you describe what you need a little more clearly?
Was This Post Helpful? 0
  • +
  • -

#3 dlkj  Icon User is offline

  • D.I.C Head

Reputation: 4
  • View blog
  • Posts: 137
  • Joined: 11-March 02

Re: Who To Do In C Or C++ E^x?

Posted 22 December 2004 - 10:13 PM

I guess you be wanting a function that takes in x and returns the result of the computation of that formula.

I'm not going to give you the complete answer.
But here's a hint.
http://www.dinkumwar...h=math.html#exp

hope that helps.
If not, do a bit more and ask again for more guidance.
Was This Post Helpful? 0
  • +
  • -

#4 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Re: Who To Do In C Or C++ E^x?

Posted 02 January 2005 - 10:02 AM

does e stand for 2.78...the one used for natural logarithms? If yes....then I guess you should explore math.h
The Solution to your problem lies within the header file.
Happy Searching...
Was This Post Helpful? 0
  • +
  • -

#5 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Re: Who To Do In C Or C++ E^x?

Post icon  Posted 04 January 2005 - 10:44 AM

i did it that same sec
i forgot about exp();

thanks very much
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1