Hi,

I don't remember how can I solve it for example: x=1,5^x

Help me please,

The Riddler

Results 1 to 9 of 9

- Apr 4th 2011, 12:16 AM #1

- Joined
- Apr 2011
- Posts
- 3

- Apr 4th 2011, 12:24 AM #2

- Apr 4th 2011, 12:39 AM #3

- Apr 4th 2011, 03:03 AM #4

- Joined
- Apr 2005
- Posts
- 18,947
- Thanks
- 2737

I will admit that I would have interpreted the question as "if x= 1, what is ", but solving the equation is much more interesting.

Of course, so is the same as and that is the same as . Let y -ln(1.5)x so that and the equation becomes or .

Now, we have y= W(-ln(1.5)) where W is "Lambert's W function", the inverse function to [itex]f(x)= xe^x[/itex].

Finally, then .

Of course, as earboth says, x is not a real number because the domain of the real valued W function, while it includes some negative numbers, does not include any that negative.

- Apr 4th 2011, 04:19 AM #5

- Joined
- Apr 2011
- Posts
- 3

- Apr 4th 2011, 05:16 AM #6

- Apr 4th 2011, 05:54 AM #7

- Apr 4th 2011, 09:13 AM #8
Of course, you could use any number of methods of approximation. I tried the risky approach of blind iteration, using the following steps (having drawn the graphs first for a rough idea of the roots, obviously):

Starting at

....

We get the solution at approximately the 9th iteration. However I was trying to get the other solution! You could try a slightly better approach, such as interval bisection, Newton-Raphson or linear interpolation or something, but then you probably know all this already.

- Apr 5th 2011, 04:47 AM #9

- Joined
- Apr 2011
- Posts
- 3

I wrote a program yesterday, which has solved my problem.

You can download it here: http://strategist.fw.hu/program.rar