[scilab-Users] Convergence problem

Julio Gonzalez-Saenz julio.gonzalez at ymail.com
Mon Oct 18 15:57:06 CEST 2010


You are rigth Xavier... I haven't noticed that the result was not zero..  The 
error is too big!  There is something wrong!

Julio



________________________________
From: xavier roguiez <xr at geo.hmg.inpg.fr>
To: users at lists.scilab.org
Sent: Mon, 18 October, 2010 16:48:32
Subject: Re: [scilab-Users] Convergence problem

Le 18/10/2010 15:38, Julio Gonzalez-Saenz a écrit :
> I ran the example on help, and it ran..
> 
> 
> x0=0;x1=0:0.1:2*%pi;
> X=integrate('sin(x)','x',x0,x1);
> 
Hi julio,

The result is also inaccurate ? using a vector doesn't change the
problem because you've done the following computation :
  integrate('sin(x)','x',0,6.2)
->0.0034579

but if you try
integrate('sin(x)','x',0,2*%pi)
it doesn't run...
It's a mystery for me...

xavier



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101018/ed9e50d2/attachment.htm>


More information about the users mailing list