[sage-support] [sage support] understanding functions

2010-02-11 Thread Thomas Scofield
Wow! 28+ hours and no one has addressed this question. Do I need to supply more information? Have I just simply asked a really dumb question? Thomas L. Scofield Associate Professor Department of Mathematics and Statistics Calvin Co

[sage-support] understanding functions

2010-02-10 Thread Thomas Scofield
I should have said a couple more things. First, when integrand evaluates to something other than the zero function (or, at least, to a non-constant function), the original code var('x,y,t') F=vector([x^2,x*y]) r=vector([cos(t), sin(t)]) tstart=0 tend=2*pi integrand = F(x=

[sage-support] understanding functions

2010-02-10 Thread Thomas Scofield
I borrowed/adapted the following code for carrying out a line integral from a published notebook var('x,y,t') F=vector([x^2,x*y]) r=vector([cos(t), sin(t)]) tstart=0 tend=2*pi integrand = F(x=r[0], y=r[1])*diff(r,t) As one may observe, integrand is identically 0. The idea