We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please follow the template below. If you don't, your issue may be closed without being addressed.
Include code fragments or CodePen.io links to illustrate the issue. Do not include screenshots of code.
.... mathInputSolveFor(value, "x"); .... export const mathInputSolveFor = (mathInput: string, solveFor: string) => { const expr = computeEngine.parse(mathInput); const solution = expr.solve(solveFor); return isType(solution) ? solution.toString() : null; };
For 2x = 10, result is working x = 5
for 2x = sqrt(5x) or similar, if I console log solution then it's an empty array and no error is reported in the console
solution
in wolfram alpha: solve for x, 2x = sqrt(5x) output: x = 5/4
"@cortex-js/compute-engine": "^0.26.4", "mathlive": "^0.101.2", "vue": "^3.5.12",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Actual Result
For 2x = 10, result is working x = 5
for 2x = sqrt(5x) or similar, if I console log
solution
then it's an empty array and no error is reported in the consoleExpected Result
in wolfram alpha: solve for x, 2x = sqrt(5x)
output:
x = 5/4
Environment
"@cortex-js/compute-engine": "^0.26.4",
"mathlive": "^0.101.2",
"vue": "^3.5.12",
The text was updated successfully, but these errors were encountered: