Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default log trendline formula

This is a log trendline formula from Excel semilog graphing.

y = 0.8065Ln(x) + 3.4412

can anyone tell me how the " 0.8065Ln(x) " part of this formula works?

I know y and i am solving for "x"

not sure the significance of the "Ln"

do i have to use some "log" function?

--
dr chuck
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default log trendline formula

ln IS A FUNCTION IN EXCEL

Log is usually referes to base 10
Log(10) = 1
Log(100) = 2
Log( 1000) = 3

If we did Log for base 3
Log(3) = 1
Log(9) = 2
Log(27) = 3

LN is the Log using e as the base where e equals approximately 2.3

"dr chuck" wrote:

This is a log trendline formula from Excel semilog graphing.

y = 0.8065Ln(x) + 3.4412

can anyone tell me how the " 0.8065Ln(x) " part of this formula works?

I know y and i am solving for "x"

not sure the significance of the "Ln"

do i have to use some "log" function?

--
dr chuck

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default log trendline formula

ln() is the natural log of a number. It's the exponent that you raise e (2.718
approx) to go get that number.

=ln(2.718) = about 1
since
e^1 is about 2.718

ln(100) = 4.60517
since
e^4.60517 (or 2.718 ^ 4.60517) = 100.

Some info for ln() and exp():
http://en.wikipedia.org/wiki/Natural_logarithm
http://en.wikipedia.org/wiki/E_%28ma...al_constant%29
http://en.wikipedia.org/wiki/Exponential_function


Starting with:
y = .8065 * ln(x) + 3.4412
subtracting 3.4412 from both sides:

y-3.4412 = .8065 * ln(x)
dividing both sides by .8065

(y-3.4412)/.8065 = ln(x)
Using each side as an exponent with e the base

exp((y-3.4412)/.8065) = exp(ln(x))

But exp(ln(x)) = x

so
exp((y-3.4412)/.8065) = x

So if you put the value for Y in A1, you could use this formula in B1:
=exp((a1-3.4412)/.8065)
to find what X is.


dr chuck wrote:

This is a log trendline formula from Excel semilog graphing.

y = 0.8065Ln(x) + 3.4412

can anyone tell me how the " 0.8065Ln(x) " part of this formula works?

I know y and i am solving for "x"

not sure the significance of the "Ln"

do i have to use some "log" function?

--
dr chuck


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default log trendline formula

LN is called the natural logarithm. It is a logarithm using the exponential
constant (2.718. . .) as the base (see below)

the arguments for log are


LOG(number,base)

Base is optional and if left out, defaults to base 10

so Log(10,10) = 1
Log(10) = 1

but
Log(3) is Log(3,10), not base 3 and equals 0.477121254719662
Log(3,3) = 1 is the logarithm of 3 using base 3.

like wise

EXP(1) gives the exponential consant - it is the exponential constant raised
to the 1st power
http://www.mathcentre.ac.uk/students...s/resources/41

=EXP(1) = 2.71828182845905 (not 2.3)

so
=LOG(EXP(1),EXP(1)) is 1
as is
=LN(exp(1))

so LN is equal to LOG with a base of exp(1), or the match constant e


--
Regards,
Tom Ogilvy


"Joel" wrote in message
...
ln IS A FUNCTION IN EXCEL

Log is usually referes to base 10
Log(10) = 1
Log(100) = 2
Log( 1000) = 3

If we did Log for base 3
Log(3) = 1
Log(9) = 2
Log(27) = 3

LN is the Log using e as the base where e equals approximately 2.3

"dr chuck" wrote:

This is a log trendline formula from Excel semilog graphing.

y = 0.8065Ln(x) + 3.4412

can anyone tell me how the " 0.8065Ln(x) " part of this formula works?

I know y and i am solving for "x"

not sure the significance of the "Ln"

do i have to use some "log" function?

--
dr chuck



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 116
Default log trendline formula

Tom,

You never cease to amaze me with your capabilities.

Alan


"Tom Ogilvy" wrote in message
...
LN is called the natural logarithm. It is a logarithm using the
exponential constant (2.718. . .) as the base (see below)

the arguments for log are


LOG(number,base)

Base is optional and if left out, defaults to base 10

so Log(10,10) = 1
Log(10) = 1

but
Log(3) is Log(3,10), not base 3 and equals 0.477121254719662
Log(3,3) = 1 is the logarithm of 3 using base 3.

like wise

EXP(1) gives the exponential consant - it is the exponential constant
raised to the 1st power
http://www.mathcentre.ac.uk/students...s/resources/41

=EXP(1) = 2.71828182845905 (not 2.3)

so
=LOG(EXP(1),EXP(1)) is 1
as is
=LN(exp(1))

so LN is equal to LOG with a base of exp(1), or the match constant e


--
Regards,
Tom Ogilvy


"Joel" wrote in message
...
ln IS A FUNCTION IN EXCEL

Log is usually referes to base 10
Log(10) = 1
Log(100) = 2
Log( 1000) = 3

If we did Log for base 3
Log(3) = 1
Log(9) = 2
Log(27) = 3

LN is the Log using e as the base where e equals approximately 2.3

"dr chuck" wrote:

This is a log trendline formula from Excel semilog graphing.

y = 0.8065Ln(x) + 3.4412

can anyone tell me how the " 0.8065Ln(x) " part of this formula works?

I know y and i am solving for "x"

not sure the significance of the "Ln"

do i have to use some "log" function?

--
dr chuck







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default log trendline formula

Alan,

Well, Dave Peterson actually gave a more complete response - but thanks!
Hopefully I won't disappoint.

--
Regards,
Tom Ogilvy

"Alan" wrote in message
...
Tom,

You never cease to amaze me with your capabilities.

Alan


"Tom Ogilvy" wrote in message
...
LN is called the natural logarithm. It is a logarithm using the
exponential constant (2.718. . .) as the base (see below)

the arguments for log are


LOG(number,base)

Base is optional and if left out, defaults to base 10

so Log(10,10) = 1
Log(10) = 1

but
Log(3) is Log(3,10), not base 3 and equals 0.477121254719662
Log(3,3) = 1 is the logarithm of 3 using base 3.

like wise

EXP(1) gives the exponential consant - it is the exponential constant
raised to the 1st power
http://www.mathcentre.ac.uk/students...s/resources/41

=EXP(1) = 2.71828182845905 (not 2.3)

so
=LOG(EXP(1),EXP(1)) is 1
as is
=LN(exp(1))

so LN is equal to LOG with a base of exp(1), or the match constant e


--
Regards,
Tom Ogilvy


"Joel" wrote in message
...
ln IS A FUNCTION IN EXCEL

Log is usually referes to base 10
Log(10) = 1
Log(100) = 2
Log( 1000) = 3

If we did Log for base 3
Log(3) = 1
Log(9) = 2
Log(27) = 3

LN is the Log using e as the base where e equals approximately 2.3

"dr chuck" wrote:

This is a log trendline formula from Excel semilog graphing.

y = 0.8065Ln(x) + 3.4412

can anyone tell me how the " 0.8065Ln(x) " part of this formula works?

I know y and i am solving for "x"

not sure the significance of the "Ln"

do i have to use some "log" function?

--
dr chuck







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trendline formula juanpablo Excel Discussion (Misc queries) 6 October 18th 09 08:56 AM
Formula in Trendline juanpablo Excel Discussion (Misc queries) 0 October 16th 09 08:20 PM
how do i extract the formula from a trendline in Excel? DeanP Charts and Charting in Excel 1 May 5th 09 07:19 PM
Trendline Formula Problems John1791 Charts and Charting in Excel 2 June 19th 07 06:11 PM
Using Trendline Formula Maarten Excel Programming 2 February 12th 05 02:14 AM


All times are GMT +1. The time now is 02:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"