<div dir="ltr"><div>Thanks Dr. Cordero, that's the explanation I was looking for. <br><br></div>Eddie<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 1:29 PM, Cordero R. <span dir="ltr"><<a href="mailto:rcorderog@gmail.com" target="_blank">rcorderog@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div>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:</div><div><br></div><div>  t                               t                  0</div><div><font size="6">S</font>sin(x) dx = -cos(x)<font size="6">|  </font>= cos(x)<span style="font-size:xx-large">| </span> = cos(0) - cos(t) = 1 - cos(t) </div><div> 0                               0                 t</div><div><br></div><div>For that reason, there is an offset in the result of the integration.</div><div><br></div><div>Att</div><div>Dr. Raymundo Cordero G.</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-10-05 4:08 GMT-04:00 Clément David <span dir="ltr"><<a href="mailto:clement.david@scilab-enterprises.com" target="_blank">clement.david@scilab-enterprises.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello eddie,<br>
<br>
See <a href="http://math2.org/math/integrals/more/restrig.htm" rel="noreferrer" target="_blank">http://math2.org/math/integrals/more/restrig.htm</a><br>
<br>
In fact you can move the starting point by changing the '1/s' initial<br>
value (which is by default 0).<br>
<br>
Regards,<br>
<br>
--<br>
Clément<br>
<div><div><br>
Le samedi 03 octobre 2015 à 09:49 -0700, eddie Liberato a écrit :<br>
> Hi,<br>
><br>
> Going straight to the point, I don't understand why Xcos mess with<br>
> the<br>
> amplitude when integrating the sine function. It shouldn't only go<br>
> 90° out<br>
> of phase?<br>
> Someone can point where is my mistake ?<br>
> thanks in advance.<br>
><br>
> <<a href="http://mailinglists.scilab.org/file/n4032956/54.png" rel="noreferrer" target="_blank">http://mailinglists.scilab.org/file/n4032956/54.png</a>><br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://mailinglists.scilab.org/Help-to-understand-XCOS-tp4032956.html" rel="noreferrer" target="_blank">http://mailinglists.scilab.org/Help-to-understand-XCOS-tp4032956.html</a><br>
> Sent from the Scilab users - Mailing Lists Archives mailing list<br>
> archive at Nabble.com.<br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
> <a href="http://lists.scilab.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>