Questions tagged [algebra.js]
3 questions
2
votes
2 answers
Equate equation to zero
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…

Julius Knafl
- 429
- 3
- 14
0
votes
0 answers
Why does algebra.js fail to solve for y
On website https://omegalords.ga/world/test.html, I have a code that calculates 1 unit towards a target. In the code the slope is 1. so the x and y of the next spot to jump to should be the same. Why does it at some point change and the 2…

Electrox Qui Mortem
- 80
- 11
-3
votes
1 answer
Solve Linear equation with variables in JavaScript
I am trying to use JavaScript to solve the linear equation with variables.
So my try is this:
var CE = parseFloat(document.getElementById("CE").value)
var CF = parseFloat(document.getElementById("CF").value)
var…

Shunichi Ono
- 7
- 2