A
A
Artem Parfenov2014-08-13 17:05:32
Mathematics
Artem Parfenov, 2014-08-13 17:05:32

How is the x^x equation solved?

Dear Math experts, please remind the bydlocoder how equations like
x^x = c are solved, where c is a known constant
. It suddenly became clear that the equation of the species nlogn = 1000introduces individual characters into a stupor.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mrrl, 2014-08-13
@getmanartem

The equation x*ln(x)=c is easier to solve. You can use Newton's method. And iterations are also possible: x_{n+1}=c/ln(x_n), it should converge very quickly.
UPD. Although no, it will only converge for c>e. Newton's method is still more reliable:
x_{n+1}=(c+x_n)/(ln(x_n)+1)

A
Andrew, 2014-08-13
@OLS

Newton's method (or tangents) will be categorically faster than half division, despite the fact that the code will be quite a bit more complicated.

A
Artem Parfenov, 2014-08-13
@getmanartem

Thanks a lot. Terribly good comments. It is a pity that you can not put 2 checkboxes "Solution" - @thousandsofthem's answer seemed to me the simplest (at least understandable to me). I have no doubt that @Mrrl 's answer is also great, but Newton's method, alas, still needs to be raised. Numerical methods are completely forgotten :( why was it not possible to study normally at the institute?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question