math-diff

1.0.3 • Public • Published

math-diff

NPM package for symbolic differentiation plugin math.diff.js.

npm version lifetimeDownloadCount Pledge To Arupex!

Install

npm install math-diff --save  

Usage

let math_diff = require('math-diff');
let equation = '2x^5-cos(x)-x*exp(x)';

let derivative =  math_diff(equation, 'x').toString(); // Output: 10 * x ^ 4 - -sin(x) - (exp(x) + x * exp'(x))

Readme

Keywords

none

Package Sidebar

Install

npm i math-diff

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

18.9 kB

Total Files

3

Last publish

Collaborators

  • sonfar