Thanks Dr. Cordero, that's the explanation I was looking for. Eddie
On Thu, Oct 8, 2015 at 1:29 PM, Cordero R. <rcorde...@gmail.com> wrote: > 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.da...@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@lists.scilab.org >> > http://lists.scilab.org/mailman/listinfo/users >> _______________________________________________ >> users mailing list >> users@lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > >
_______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users