[Scilab-users] Help to understand XCOS

Cordero R. rcorderog at gmail.com
Thu Oct 8 18:29:37 CEST 2015


Hi
The integration function is correct. The problem is not the initial point.
But the integral of a sinusoidal function is not just a 90 degrees out of
phase. It will be clear if you consider a definite integral from 0 to t:

  t                               t                  0
Ssin(x) dx = -cos(x)|  = cos(x)|  = cos(0) - cos(t) = 1 - cos(t)
 0                               0                 t

For that reason, there is an offset in the result of the integration.

Att
Dr. Raymundo Cordero G.


2015-10-05 4:08 GMT-04:00 Clément David <
clement.david at scilab-enterprises.com>:

> Hello eddie,
>
> See http://math2.org/math/integrals/more/restrig.htm
>
> In fact you can move the starting point by changing the '1/s' initial
> value (which is by default 0).
>
> Regards,
>
> --
> Clément
>
> Le samedi 03 octobre 2015 à 09:49 -0700, eddie Liberato a écrit :
> > Hi,
> >
> > Going straight to the point, I don't understand why Xcos mess with
> > the
> > amplitude when integrating the sine function. It shouldn't only go
> > 90° out
> > of phase?
> > Someone can point where is my mistake ?
> > thanks in advance.
> >
> > <http://mailinglists.scilab.org/file/n4032956/54.png>
> >
> >
> >
> > --
> > View this message in context:
> > http://mailinglists.scilab.org/Help-to-understand-XCOS-tp4032956.html
> > Sent from the Scilab users - Mailing Lists Archives mailing list
> > archive at Nabble.com.
> > _______________________________________________
> > users mailing list
> > users at lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20151008/f65947db/attachment.htm>


More information about the users mailing list