symja_android_library icon indicating copy to clipboard operation
symja_android_library copied to clipboard

Symja fails to solve to bases of powers if exponent is rational

Open HannesWell opened this issue 1 year ago • 1 comments

Describe the bug

Symja's Solve function fails to solve powers to their base expression if the exponent is a rational number.

To Reproduce

Example input Symja input expression:

>> Solve(100==x^2.5,x)

Error result:

{}

Expected behavior Something like

10^(4/5) or ~6.30957344

More complex examples are

>> Solve(100 == x^2.5 + x^0.5,x)
>> Solve(100 == x^10.5+x^3.2,x)

For example Wolfram-Alpha can solve all three of these equations and plotting the RHS, there is clearly a solution.

Screenshots grafik

HannesWell avatar Jan 26 '24 10:01 HannesWell

This may also be a problem in finding the "best performing" method or "starting-point" for FindRoot:

  • https://github.com/axkr/symja_android_library/blob/master/symja_android_library/doc/functions/FindRoot.md

image

axkr avatar Jan 26 '24 11:01 axkr