<br><br><div class="gmail_quote">On Wed, May 9, 2012 at 2:28 AM, Samuel Gougeon <span dir="ltr"><<a href="mailto:sgougeon@free.fr" target="_blank">sgougeon@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
This result is correct. The following thread in Bugzilla may<br>
interest you: <br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Here,<br>
-->%eps^(1/4)<br>
 ans  =<br>
    0.0001221<br>
is of the order of shifts reported in your message.<br>
<br></blockquote><div>How ever some of the machines showing roots 1 1 1 1 <br>and some are not. How both answers can be correct? <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

 
<br>
<br>
Le 08/05/2012 20:26, Manjusha Joshi a écrit :<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Here is the code which is showing unexpected  results.<br>
I started with vector v.<br>
<br>
-->v=[1,1,1,1]<br>
 v  =<br>
<br>
    1.    1.    1.    1.<br>
<br>
//Defined poly with roots as v<br>
-->p=poly(v,'s')<br>
 p  =<br>
<br>
               2    3   4<br>
    1 - 4s + 6s - 4s + s<br>
<br>
-->roots(p)<br>
 ans  =<br>
<br>
    1.0001886<br>
    1.0000000 + 0.0001886i<br>
    1.0000000 - 0.0001886i<br>
    0.9998114<br>
 //roots of polynomial should be all 1, how ever, answer is different with scilab 5.3.3 on ubuntu 12.04 computers. At least 6 machines giving this  different answer. On the other hand scilab 5.3. giving correct answer.<br>


<br>
Can any one put light on how to interpret it correctly or explain  any other reason behind this?<br>
<br>
Regards,<br>
<br>
-- <br>
Manjusha S. Joshi<br>
Pune, India<br>
blog:<a href="http://manjushajoshi.wordpress.com/" target="_blank">http://manjushajoshi.<u></u>wordpress.com/</a><br>
<br>
<br>
</blockquote>
<br></div></div>
--<br>
To unsubscribe from this mailing-list, please send an empty mail to<br>
<a href="mailto:users-unsubscribe@lists.scilab.org" target="_blank">users-unsubscribe@lists.<u></u>scilab.org</a><br>
To check the archives of this mailing list, see<br>
<a href="http://mailinglists.scilab.org/" target="_blank">http://mailinglists.scilab.<u></u>org/</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Manjusha S. Joshi <br>Mobile:  09822 319328<br>Pune, India<br>blog:<a href="http://manjushajoshi.wordpress.com/" target="_blank">http://manjushajoshi.wordpress.com/</a><br>

<br> <br>