Start
Algorithm to
find the real
roots of the
cubic equation
ax 3 bx 2 cx d 0
b
3a
c be
a
ce d 2ae 3
a
Is f 0 ?
Yes
4g
h3
Yes
x1
g e
End
No
4 f
Is f 0 ?
sinh1 i
e
x1 h sinh
3
End
No
Is i 1 ?
Yes
x1
cosh1 i
hi
e
cosh
i
3
End
No
cos-1 i
3
x2 h cos (1200 j ) e
x1 h cos j e
Is j 00 or 600 ?
Yes
No
x3 h cos (1200 j ) e
End
End