+ 1

quick math

How would i make a code that would solve algreba problems(not homework) I want to make a effective calculator. I need something that could solve things like: 12 = 3x And it would print: x = 4

25th Sep 2018, 3:20 AM
2 Answers
+ 2
check this ,this programme solve two variable equations. https://code.sololearn.com/cvtk3oqtBuj3/?ref=app
25th Sep 2018, 4:43 PM
Maninder $ingh
Maninder $ingh - avatar
I have no idea of python. However, you could bring the equation in a form of 0 = 3x - 12 Then you can implement a code to find the zeros of this equation. Numerical by Newton iteration or with a special solution for quadratic functions...
25th Sep 2018, 3:45 AM
Henry - avatar