i want the way to solve this equation without using calculator to find value of x

x3 + ax2 + bx + c

Printable View

- September 6th 2010, 08:59 AMmido22how can i solve this ??
i want the way to solve this equation without using calculator to find value of x

x3 + ax2 + bx + c - September 6th 2010, 09:03 AMyeKciM
- September 6th 2010, 09:05 AMmido22
- September 6th 2010, 09:24 AMyeKciM

if you looking for formula to solve that in that form than.... hm... it's huge :D:D:D:D if those i assume constants a,b,c were numbers than could be shown how to reduce that equation so it could be solved easier :D

or you can use Horner scheme , but anyway you need one zero first :D - September 6th 2010, 10:38 AMmido22
here is the problem link :

https://www.spoj.pl/problems/ROOTCIPH/

what is your idea - September 6th 2010, 03:36 PMyeKciM
hm.....

try this if helps you : x^3+ax^2+bx+c=0 - Wolfram|Alpha

and here you are how to do cubic polynomial : Solving Cubic Equations

hm.... or because your are writing code for that, maybe it would be easier to test first zero, and than simplify cubic polynomial... as i recall you can use algorithm hm... can't remember right now but as soon as i do i'll write it here :D (long time passed since i have done any programming :D:D:D) - September 6th 2010, 05:21 PMmido22