[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [FUN] CodeGolf: solve equation x^x=C
- From: Albert Chan <albertmcchan@...>
- Date: Thu, 27 Jun 2019 12:40:48 -0400
> Op Do. 27 Jun. 2019 om 09:14 het Dirk Laurie <dirk.laurie@gmail.com> geskryf:
>
>> That constant 15.5 sticks out like a sore thumb.
My guess is >15.5 for approximate lambert W function as straight line.
https://en.m.wikipedia.org/wiki/Lambert_W_function
x^x = c --> x = e^W(log(c))
Example, if c=100, from Wolfram Alpha, we get x=3.597285
http://m.wolframalpha.com/input/?i=E%5EProductLog%5BLog%5B100%5D%5D