Skip to content

Error in basic algebra result #681

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

Open
28raining opened this issue Oct 11, 2022 · 0 comments
Open

Error in basic algebra result #681

28raining opened this issue Oct 11, 2022 · 0 comments

Comments

@28raining
Copy link

Attached image is the result drawn in Latex.

image

Nerdamer should realize that (1/L)/S == 1/(LS).

There are probably easier ways to reproduce this, but here's one way;

nerdamer.setVar('M', 'matrix([-(S*L1)^-1,(S*L1)^-1,1],[(S*L1)^-1,-(S*L1)^-1+(-S*C1),0],[1,0,0])');  
var x = nerdamer('invert(M)');
nerdamer.setVar('XX', x);
var z = nerdamer('matget(XX, 1, 2)');

var ztex = nerdamer.convertToLaTeX(z.text());
output.appendChild(MathJax.tex2svg(ztex.toString()));

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

1 participant