View previous topic :: View next topic |
Author |
Message |
ouliwei "Ace High"
Joined: 10 Feb 2006 Posts: 18
|
Posted: Wed Dec 06, 2006 4:51 pm Post subject: I need to use log and all I am getting is ln |
|
|
My equation is:
round((5*(sqrt(players)/sqrt(place)))*(1+log(buyin+1)))
what I get in teh equation editor is:
round((5*(sqrt(players)/sqrt(place)))*(1+ln(buyin+1)))
Can anyone help me with this please. The equation comes from a league ranking system called Texas Rankem.
Thanks in advance |
|
Back to top |
|
|
drneau Site Admin
Joined: 13 Feb 2005 Posts: 2385 Location: Woodbury, MN
|
Posted: Wed Dec 06, 2006 5:25 pm Post subject: Re: I need to use log and all I am getting is ln |
|
|
ouliwei wrote: | My equation is:
round((5*(sqrt(players)/sqrt(place)))*(1+log(buyin+1)))
what I get in teh equation editor is:
round((5*(sqrt(players)/sqrt(place)))*(1+ln(buyin+1)))
Can anyone help me with this please. The equation comes from a league ranking system called Texas Rankem.
Thanks in advance |
So, are you saying you want to use Log with base 10 rather than the natural logrithm?
This might help.
log10(x) = ln(x) / ln (10) _________________ --
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau |
|
Back to top |
|
|
Dix "Royal Flush - No Hat"
Joined: 17 Jun 2005 Posts: 246 Location: W.Poland Maine - USA
|
Posted: Wed Dec 06, 2006 5:26 pm Post subject: |
|
|
ln stands for "Natural Log"... which IS the natual log function... default in Java.
If what are looking for is a BASE 10 Log.... like the default log function in Excel... just divide the natural log function by ln(10)
ln(x)/ln(10)
making your equation...
round((5*(sqrt(players)/sqrt(place)))*(1+(ln(buyin+1)/ln(10)))) _________________ - Dix |
|
Back to top |
|
|
drneau Site Admin
Joined: 13 Feb 2005 Posts: 2385 Location: Woodbury, MN
|
Posted: Wed Dec 06, 2006 5:35 pm Post subject: |
|
|
Also, square root (x) / square root (y) = square root (x / y), if that makes it any easier. _________________ --
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau |
|
Back to top |
|
|
|