drneau.com Forum Index drneau.com
A discussion board for drneau.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I need to use log and all I am getting is ln

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket
View previous topic :: View next topic  
Author Message
ouliwei
"Ace High"


Joined: 10 Feb 2006
Posts: 18

PostPosted: Wed Dec 06, 2006 4:51 pm    Post subject: I need to use log and all I am getting is ln Reply with quote

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
View user's profile Send private message
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Wed Dec 06, 2006 5:25 pm    Post subject: Re: I need to use log and all I am getting is ln Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Dix
"Royal Flush - No Hat"


Joined: 17 Jun 2005
Posts: 246
Location: W.Poland Maine - USA

PostPosted: Wed Dec 06, 2006 5:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Wed Dec 06, 2006 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    drneau.com Forum Index -> The v2 Bucket All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group