google / mathsteps

Step by step math solutions for everyone
https://socratic.org
Apache License 2.0
2.11k stars 276 forks source link

Mathsteps cannot handle quadratic equations #243

Open Sakuya-Izayoi opened 5 years ago

Sakuya-Izayoi commented 5 years ago

When you pass a simple quadratic eqation like 2x^2 - 3x = 35 to the solveEquation function it just throws an error. Math error: No term with symbol: x, returning no steps

evykassirer commented 5 years ago

yup, quadratics aren't super well supported in mathsteps right now

mindfulmonk600 commented 5 years ago

Hi there. I was hoping to contribute some code to solving quadratic equations for this project, but I was wondering what language it is all written in? Is it javascript?

arguiot commented 4 years ago

@mathematicode if you can't recognize JavaScript, you'd better learn it before contributing 😂.

Also, I guess that solving quadratic equations shouldn't be too hard to implement, as you only have to transpose the equation to a polynomial, and then just apply the quadratic formula.

Quadratic formula

kungfooman commented 3 months ago

So any fork out there that supports quadratic equations by now?

Edit: Seems so: https://github.com/kemu-studio/mathsteps/blob/ce46d08aaffac60345bb9624275e21356739ed42/doc/20220426_forks_review.md?plain=1#L16