nicolewhite/algebra.js

Possible parsing issue for 2^x=10

Closed this issue · 1 comments

I believe that the AlgebraJS may be having parsing issue with smaller equations such as 2^x=10, or 2.71^x=15, as shown below.

Equation: 2^x=10
calc1

Result: An exception at the moment
calc2

Is there something I can do on my side, so that eq.solveFor("x") function would provide a result?

There are no plans to support variables as exponents in the near future. As the error suggests, "Exponent must be of type Integer."