mathjs-simple-integral icon indicating copy to clipboard operation
mathjs-simple-integral copied to clipboard

Patched integral.js for mathjs 7.0.1

Open JThobbyist opened this issue 5 years ago • 2 comments
trafficstars

example usage:

const { create, all } = require('mathjs');

const math = create(all);

const  integral  = require('./integral.js');

math.import( [[integral]] ); //simulates importing the npm package, which nests it [[]]

console.log(math.integrate('10y+4x^2','x').toString())
//10 * y * x + x ^ 3 * 4 / 3

JThobbyist avatar Jun 20 '20 16:06 JThobbyist

How do I use this in a browser? Official Mathjs has a simple link that I can add as a script and use (I'm making a static webpage, so no server) and I wanted to implement this simple integral function.

aleksasiriski avatar Jan 23 '23 22:01 aleksasiriski

If all else fails, you can always use webpackOn Jan 23, 2023, at 5:20 PM, Aleksa Siriški @.***> wrote: How do I use this in a browser? Official Mathjs has a simple link that I can add as a script and use (I'm making a static webpage, so no server) and I wanted to implement this simple integral function.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

JThobbyist avatar Jan 23 '23 23:01 JThobbyist