[Scilab-users] improve accuracy of roots
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Thu Jan 10 09:33:43 CET 2019
Hello,
> De : users [mailto:users-bounces at lists.scilab.org] De la part de Federico Miyara
> Envoyé : jeudi 10 janvier 2019 00:32
>
> // Define fourth degree polynomial
> R = (1 + p)^4;
>
> // Find its roots
> z = roots(R)
> [...]
> but the error in the roots is too large.
The help page mentions that:
"This implies that just representing the coefficients as IEEE doubles changes the roots."
https://help.scilab.org/docs/6.0.1/en_US/roots.html
> Is there some way to improve the accuracy?
The "f" option does not work so I have no clue here, sorry.
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
Public
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the users
mailing list