[scilab-Users] mismatch in calculation with scilab version 5.3.3 on ubuntu 12.04
Manjusha Joshi
manjusha.joshi at gmail.com
Wed May 9 20:34:04 CEST 2012
On Wed, May 9, 2012 at 2:28 AM, Samuel Gougeon <sgougeon at free.fr> wrote:
> Hello,
>
> This result is correct. The following thread in Bugzilla may
> interest you:
>
> Here,
> -->%eps^(1/4)
> ans =
> 0.0001221
> is of the order of shifts reported in your message.
>
> How ever some of the machines showing roots 1 1 1 1
and some are not. How both answers can be correct?
>
>
> Le 08/05/2012 20:26, Manjusha Joshi a écrit :
>
> Hello,
>>
>> Here is the code which is showing unexpected results.
>> I started with vector v.
>>
>> -->v=[1,1,1,1]
>> v =
>>
>> 1. 1. 1. 1.
>>
>> //Defined poly with roots as v
>> -->p=poly(v,'s')
>> p =
>>
>> 2 3 4
>> 1 - 4s + 6s - 4s + s
>>
>> -->roots(p)
>> ans =
>>
>> 1.0001886
>> 1.0000000 + 0.0001886i
>> 1.0000000 - 0.0001886i
>> 0.9998114
>> //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.
>>
>> Can any one put light on how to interpret it correctly or explain any
>> other reason behind this?
>>
>> Regards,
>>
>> --
>> Manjusha S. Joshi
>> Pune, India
>> blog:http://manjushajoshi.**wordpress.com/<http://manjushajoshi.wordpress.com/>
>>
>>
>>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.**scilab.org <users-unsubscribe at lists.scilab.org>
> To check the archives of this mailing list, see
> http://mailinglists.scilab.**org/ <http://mailinglists.scilab.org/>
>
>
--
Manjusha S. Joshi
Mobile: 09822 319328
Pune, India
blog:http://manjushajoshi.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120510/80bf898f/attachment.htm>
More information about the users
mailing list