trouble resolving a integral for calculating a Fourierseries
Subject: trouble resolving a integral for calculating a Fourierseries
From: Richard Hennessy
Date: Sun, 11 Apr 2010 15:39:41 -0400
This is a piecewise function, Maxima has no built in way to integrate piecewise functions. I have a package on this
site called pw.mac that can integrate piecewise functions continuous or not.
The site is http://mysite.verizon.net/res11w2yb/id2.html
There is a lot of examples there and a help file. You cannot integrate "if then else's" but you can rewrite you
functions using the piecewise() function that is contained in pw.mac. Then you can integrate it with pwint().
Rich
From: Richard Hennessy
Sent: Sunday, April 11, 2010 3:36 PM
To: Pedro Ferreira ; maxima at math.utexas.edu
Subject: Re: [Maxima] trouble resolving a integral for calculating a Fourierseries
Try pw.mac. http://mysite.verizon.net/res11w2yb/id2.html
Rich
From: Pedro Ferreira
Sent: Saturday, April 10, 2010 12:03 PM
To: maxima at math.utexas.edu
Subject: trouble resolving a integral for calculating a Fourier series
Hello, I'm trying to calculate a Fourier series but I'm having trouble calculating the integrals.
Maxima isn't calculating, i think i have to somehow simplify the vi(t) function but can't see how.
The problem starts with: a0:2/T*integrate(vi(t),t,-T/2,T/2); - (its located towards the end)
but probably has to do with how i define vi(t), or more likely va(t).
I'm stuck there right now, so would appreciate any help :)
thanks
(The file is attached to the email)
--------------------------------------------------------------------------------
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima
--------------------------------------------------------------------------------
_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima