I have been trying in vain to equate a linear equation to zero.
I am using Math.js library to perform a first order differential on an equation I provided:
const derivative = math.derivative(equation,"x");
This provides me with the following:
(0.10471975511965977 * (x * -2 / 3 + 72) - 0.06981317007977317 * x) * 2025 / 3.37496e+5
I want to equate this to zero, to find x.
I have tried using Algebra.js but the parser seems have an issue with negative numbers (see https://github.com/nicolewhite/algebra.js/issues/88)
Is there any way I can do this (with preferably a library).