A step by step solver for math
https://www.youtube.com/watch?v=iCrargw1rrM
Requirements
Mathsteps requires Node version > 6.0.0
Usage
To install mathsteps using npm:
npm install mathsteps
const mathsteps = ; const steps = mathsteps; steps;
To solve an equation:
const steps = mathsteps; steps;
(if you're using mathsteps v0.1.6 or lower, use .print()
instead of .ascii()
)
To see all the change types:
const changes = mathstepsChangeTypes;
Contributing
Hi! If you're interested in working on this, that would be super awesome! Learn more here: CONTRIBUTING.md.
Build
First clone the project from github:
git clone https://github.com/socraticorg/mathsteps.git
cd mathsteps
Install the project dependencies:
npm install
Test
To execute tests for the library, install the project dependencies once:
npm install
Then, the tests can be executed:
npm test