math-generator (WIP)
ALERT - Work in progress (10% completed) - Generating mathematics problem automatically.
Inspirated and ported from the Python package https://github.com/lukew3/mathgenerator.
Also learn and added some functions from https://www.mathgoodies.com/worksheets/generator and https://mathsbot.com/
Install
npm install math-generator
Test
npm test
Usage (current)
import {
random,
isEmptyObject,
addition,
basicAlgebra,
absoluteDifference,
comparisonFraction,
cubeRoot,
fractionDivision,
division,
exponentiation,
factorial,
} from 'math-generator';
random(10);
//=> '[1 - > 9]'
API
random(input, options?)
input
Type: number
options
Type: number