|
aeTIos
|
 |
« 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!--  
|
|
|
bsl
LV4 Regular (Next: 200)
  
Offline
Last Login: 22 October, 2012, 03:42:44
Date Registered: 23 February, 2010, 18:14:18
Posts: 148
Total Post Ratings: +11
|
 |
« 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
Gender: 
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
|
 |
« Reply #2 on: 23 December, 2011, 19:52:44 » |
0
|
Taylor it  (oh, well, bsl actually wrote directly an approximation...)
|
|
|
|
« Last Edit: 23 December, 2011, 19:53:13 by adriweb »
|
Logged
|
|
|
|
phenomist
LV4 Regular (Next: 200)
  
Offline
Last Login: 13 December, 2012, 08:27:04
Date Registered: 14 January, 2011, 02:56:20
Posts: 132
Total Post Ratings: +44
|
 |
« 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.]
|
|
|
|