How to solve "ax^3+bx^2+cx+d=0" equation using C and Python. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to solve "ax^3+bx^2+cx+d=0" equation using C and Python.

10th Apr 2021, 4:44 PM
Anikur Rahman
Anikur Rahman - avatar
7 Answers
10th Apr 2021, 6:25 PM
JaScript
JaScript - avatar
+ 2
Why do you not use this method?
10th Apr 2021, 5:24 PM
JaScript
JaScript - avatar
+ 2
hmm, cubic polynomial... unless we know the values of either x or abc. then it can only be done :P usually in mathematics, it's done through ab + bc + cd = c/a
10th Apr 2021, 5:32 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 2
Anikur Rahman use Cardano formula
10th Apr 2021, 5:53 PM
Илья Мирошник
Илья Мирошник - avatar
+ 1
Do you know how this will be done in mathematic?
10th Apr 2021, 4:59 PM
JaScript
JaScript - avatar
0
JaScript why not? Yes.
10th Apr 2021, 5:00 PM
Anikur Rahman
Anikur Rahman - avatar
12th Apr 2021, 10:26 AM
Anikur Rahman
Anikur Rahman - avatar