Skip to content
New issue

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

Invalid Solve Result #125

Open
ghost opened this issue Sep 6, 2017 · 0 comments
Open

Invalid Solve Result #125

ghost opened this issue Sep 6, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 6, 2017

I'm trying to solve a fairly simple equation, but I'm getting invalid results -

Here's a small example -

const util = require("util");
var CQ = require("coffeequate");


let expression = CQ("a / (b-1) = c");
console.log("Original: " + expression.toString());
let results = expression.solve("b") // m*x + b
console.log("Solve: " + results.toString());
let results_simple = CQ(results.toString()).simplify();
console.log("Simple: " + results_simple.toString());

For this I'd expect a/c+1

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

No branches or pull requests

0 participants