Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Error in basic algebra result #681

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant