Skip to content

OneDegreeEquationStandardizer

Latest
Compare
Choose a tag to compare
@rishadbaniya rishadbaniya released this 18 May 10:42

Minified Javascript
Use it as :
import makeItStandard from "./oneDegreeEquationStandardizer.min.js"
and use wherever u wanna get the latex of the equation being converted to standard form or the final value of the standard form
Eg. let stdForm = makeItStandard("2x+2y=-20z+2y+2x+10"), this will be just converted to standard form and output will be given as,

latexArray: [
    "2\\text{x}+2\\text{y}=-20\\text{z}+2\\text{y}+2\\text{x}+10",
    "2\\text{x}+2\\text{y}+20\\text{z}-2\\text{y}-2\\text{x}=+10",
    "0\\text{x}+0\\text{y}+20\\text{z}=+10"
  ],
  leftVars: [ "0x", "+0y", "+20z" ],
  rightConstant: [ "+10" ]
}