Coder's Guild Mailing List

Re: cubic equations

Posted by Dmitry Uvarov on 1999-05-15

> >
> >Anybody have solved cubic equation (a*x^3 + b*x^2 + c*x + d = y) for four
> >known points (x=0; 1/3; 2/3; 1) to compute a,b,c and d cooficients.
> >Quadratic equation was easy to solve, but i'm stuck at cubic...
> >
> The solution is the same for all dimensions. The cooficients are always a
> solution of an linear equatin, with the powers of x as the elements of the matrix
> and the y values as the known result. Programs to solve a linear equation is
> a standard task for classes in each programming language.

I mean not exactly this... I mean to solve equations system manually to
get a,b,c and d cooficients. Today i look again at my paper and found one
stupid error, now i solve it...

Dmitry.
ICQ# 20079823
homepage: http://pascal.bizhosting.com
-----------------------------------------------------------------------
life, n.:
    A whim of several billion cells to be you for a while.