Skip to content

parsing F=3g/h and solving for g returns empty array #242

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Open
LasseMunk opened this issue Apr 22, 2025 · 0 comments
Open

parsing F=3g/h and solving for g returns empty array #242

LasseMunk opened this issue Apr 22, 2025 · 0 comments

Comments

@LasseMunk
Copy link

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.

  const expression = computeEngine.parse("F=3g/h");
  const solveFor = "g";
  const solution = expression.solve(solveFor); 

 console.log(solution) // returns empty array
 console.log(expression.json) // looks like it's the correct MathJSON

Actual Result

empty array : [ ]

Expected Result

g= Fh / 3

Environment

"@cortex-js/compute-engine": "^0.29.1",
"vue": "^3.5.12",

No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant