lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




Albert Chan <albertmcchan@yahoo.com>于2019年6月28日 周五20:37写道:
> On Jun 28, 2019, at 6:42 AM, Xavier Wang <weasley.wx@gmail.com> wrote:
>
> btw, why (ln(C)+x)/(ln(x)+1) can be simplify to math.log(C,x)?

x^x = c
x ln(x) = ln(c)
x = ln(c)/ln(x) = log(c,x)

Above iterated solution converge only if denominator ln(x) > 1
x > e
c = x^x > e^e ~ 15.155 < 15.5



Thanks! I got it.

--
regards,
Xavier Wang.