Greg M.Johnson wrote:
> ...
> #declare
>
z4=((d21*a31-d31*a21)/(a21*b31-b21*a21)+(d32*a21=d21*a32)/(a21*b32-a32*b21))
>
> /
>
> ((c21*a32-c32*a21)/(a21*b32-a32*b21)+(a21*c32-c21*a31)/(a21*b31-b21*a31));
> ...
I think I've spotted some errors here.
Try to do the following changes to the above formula:
(d32*a21 = d21*a32) = = = > (a21*d32 - d21*a32)
(a21*b31-b21*a21) = = = > (a21*b31-b21*a31)
(a21*c32-c21*a31) = = = > (a21*c31-c21*a31)
The first expression was written as a logical one: (something = otherthing)
In the other two the indexes were in error.
I'm on a journey to north Norway now, so I don't have
any more time to check the rest of your code.
Regards,
Tor Olav Kristensen
Post a reply to this message
|