Warning: no knowledge of Yampa.

It seems that the integration for the position is always using the velocity
from the previous step. Looking at the documentation in source code of
Yampa this seems plausible as there is also a function called imIntegrate
with the comment

-- "immediate" integration (using the function's value at the current time)

Which I assume would yield your answer. As I don't know Yampa I can only
speculate about the reason for this difference, the two things I can think
of now are better speed and to prevent trouble (in cases like x = integral
y, y = integral x).

Lars


On Wed, Apr 17, 2013 at 1:55 AM, Jerzy Karczmarczuk <
jerzy.karczmarc...@unicaen.fr> wrote:

> Le 17/04/2013 01:48, Jerzy Karczmarczuk a écrit :
>
>  With constant acceleration v=v0+a*Dt =>  1.01, not 1.05
>>
> Gosh, trivial errors seem to be contagious. Of course I meant 1.1, not
> 1.01. Sorry. JK
>
>
> ______________________________**_________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/**mailman/listinfo/haskell-cafe<http://www.haskell.org/mailman/listinfo/haskell-cafe>
>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to