#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default ProductLog

I have discovered that the solution to a problem I am trying to solve is: B
= A + ProductLog [-Ae^-A]. I know A and, obviously, e. Is there a formula I
can type into Excel that will give me the output B? Many thanks indeed for
any help you can offer.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default ProductLog

If I can assume that ProductLog = we^w then do this

Let's also assume the your value of w (from the above) is in cell A1

Product Log =A1*EXP(A1)

FWIW, I had to Google this function. I don't believe that there is a built
in function in Excel, but you could create a UDF if you use it enough.
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"WilliamG" wrote:

I have discovered that the solution to a problem I am trying to solve is: B
= A + ProductLog [-Ae^-A]. I know A and, obviously, e. Is there a formula I
can type into Excel that will give me the output B? Many thanks indeed for
any help you can offer.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default ProductLog

Oops, correction to function

=A1+ A1*EXP(A1)
--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"WilliamG" wrote:

I have discovered that the solution to a problem I am trying to solve is: B
= A + ProductLog [-Ae^-A]. I know A and, obviously, e. Is there a formula I
can type into Excel that will give me the output B? Many thanks indeed for
any help you can offer.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 690
Default ProductLog

If I can assume that ProductLog = we^w then do this

Hi. I don't believe that is correct.
A quick copy form Help in a math program...

ProductLog[z] gives the principal solution for w in z=we^w.

For Excel, we need to solve via iteration AFAIK.

Dana DeLouis



Barb Reinhardt wrote:
If I can assume that ProductLog = we^w then do this

Let's also assume the your value of w (from the above) is in cell A1

Product Log =A1*EXP(A1)

FWIW, I had to Google this function. I don't believe that there is a built
in function in Excel, but you could create a UDF if you use it enough.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 690
Default ProductLog

WilliamG wrote:
I have discovered that the solution to a problem I am trying to solve is: B
= A + ProductLog [-Ae^-A]. I know A and, obviously, e. Is there a formula I
can type into Excel that will give me the output B? Many thanks indeed for
any help you can offer.



Hi. Here's 1 idea for a vba function.
It does not have error checking. It's very basic.
It goes for 15 loops, and will not exit if it hits it's fixed point earlier.

Function ProductLog(n)
Dim g As Double
Dim j As Long

g = 1

For j = 1 To 15
g = (n * Exp(-g) + g ^ 2) / (1 + g)
Next j

ProductLog = g
End Function

HTH
Dana DeLouis


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 690
Default ProductLog

= A + ProductLog [-Ae^-A]

As a side note... I would double check my equations if in fact you used
"e" and not "E"

Dana DeLouis



WilliamG wrote:
I have discovered that the solution to a problem I am trying to solve is: B
= A + ProductLog [-Ae^-A]. I know A and, obviously, e. Is there a formula I
can type into Excel that will give me the output B? Many thanks indeed for
any help you can offer.

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



All times are GMT +1. The time now is 06:01 AM.

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

About Us

"It's about Microsoft Excel"