Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
21 May, 2013, 21:42:50 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: calculating the natural logarithm of an arbitrary number -  (Read 414 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
aeTIos
You got stair'd!
LV12 Extreme Poster (Next: 5000)
************
Offline Offline

Gender: Male
Last Login: Today at 21:12:27
Date Registered: 15 September, 2010, 06:00:00
Location: Netherlands, Overijssel
Posts: 3118


Topic starter
Total Post Ratings: +120

View Profile
« on: 23 December, 2011, 16:09:29 »
0

Hello guys,

As stated in the subject. I can't use this: since that only works for x=-1 through x=1...

Who knows another summation/computation algorithm? Thanks!
Logged

If something above sounds rude, feel free to vote it down, it was not meant to be rude<<lolol
--Always stay relAXEd!--


Spoiler for Hidden:


[







Spoiler for Still Alive:
This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive
bsl
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 October, 2012, 03:42:44
Date Registered: 23 February, 2010, 18:14:18
Posts: 148

Total Post Ratings: +11

View Profile
« Reply #1 on: 23 December, 2011, 16:52:03 »
0

Hello guys,

As stated in the subject. I can't use this: since that only works for x=-1 through x=1...

Who knows another summation/computation algorithm? Thanks!
(x-1)/(x+1) +1/3 * [(x-1)/(x+1)]^3 + 1/5 * [(x-1)/(x+1)]^5 + 1/7 * [(x-1)/(x+1)]^7 .....
for x > 0
There are shortcuts on a calculator to do this.
Logged
adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 00:38:33
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1196


Total Post Ratings: +185

View Profile WWW
« Reply #2 on: 23 December, 2011, 19:52:44 »
0

Taylor it Smiley


(oh, well, bsl actually wrote directly an approximation...)
« Last Edit: 23 December, 2011, 19:53:13 by adriweb » Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
phenomist
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 13 December, 2012, 08:27:04
Date Registered: 14 January, 2011, 02:56:20
Posts: 132


Total Post Ratings: +44

View Profile
« Reply #3 on: 18 January, 2012, 09:31:34 »
0

Also, ln(x)=-ln(1/x)

If x is not between -1 and 1, take its reciprocal. (I'd also like to note that ln(negative number) is a bad idea.)
« Last Edit: 18 January, 2012, 09:31:48 by phenomist » Logged

Level Designer for Graviter

[Disclaimer: I can't program for my life.]
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 1.008 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.