Re: Mathematica, Axiom or Maxima?




"rjf" <fateman@xxxxxxxxx> wrote in message
news:c9b7d02f-02ac-42e7-91e4-52a910c0ced0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Aug 31, 2:35 am, Francogrex <fra...@xxxxxxxx> wrote:
.....
And for solving
integrals in particular?

try http://integrals.wolfram.com/index.jsp

for free access to integrals by Mathematica.

Note that actually computing integrals symbolically is a challenge, it
is probably much less important than you might think. Numerical
integration techniques often do an equivalent job (for most purposes)
and are often many many times faster.

.....

So the question for you is why you want to do integrals?

RJF


Sometimes using symbolic integration over numerical can result in a much
simpler computation to a practical problem.

This is just one example from a very practical problem: Find the Fourier
coefficient of a rectangular pulse of period say 2T and the pulse width is T
(the height of the pulse is 1)

The Fourier coefficient for the above is SINC(k*Pi/2). (sinc(x) =
sin(x)/x).

For different k's we obtain the different Fourier coefficients. The above is
found by symbolic integration of a the pulse over its period time, ine
INT( f(t)* exp(-j*2*pi/T*t) , t=-T/2 .. T/2 ). This results in an expression
which I call c(k), since it is a function of k. Hence c(k) = SINC(k*Pi/2).

Now to find the Fourier coefficient for k=0, I could now using limit k->0
c(k) which gives 1/2, since direct substitution of k=0 will result in 0/0
which is not defined.

So one is able to write a small function which will find Fourier coeff. for
any function f(t) if they use symbolic integration. one can use limit to
evaluate the Fourier coeff for the k value of interest and this
automatically is handled the case above (thanks to L'hopital etc..). But I
am able to do this because I used symbolic integration and obtained a
symbolic expression and used limit.

How would you do the above numerically? If I give you a rectangle pulse of
period 2T, width T, and ask what is the Fourier coeff at k=0 ?

Most engineers will hardcode SINC(k*Pi/2) for this one case, and hardcode
the case for k=0 (the DC case) to be 1/2. But using symbolic integration is
more natural and no need to hardcode specific cases for different functions.

Nasser


.



Relevant Pages

  • Re: Mathematica, Axiom or Maxima?
    ... Sometimes using symbolic integration over numerical can result in a much ... coefficient of a rectangular pulse of period say 2T and the pulse width is T ... So one is able to write a small function which will find Fourier coeff. ...
    (sci.math.symbolic)
  • Re: Mathematica, Axiom or Maxima?
    ... This is just one example from a very practical problem: Find the Fourier ... found by symbolic integration of a the pulse over its period time, ... So one is able to write a small function which will find Fourier coeff. ... any function fif they use symbolic integration. ...
    (sci.math.symbolic)
  • Re: Permittivity and the Poynting vector
    ... >>We have a static voltage V on the cable, ... >>pulse in stead of a constant voltage. ... >>propagate from the source to the load at the speed c. ... This integration isn't ...
    (sci.physics.relativity)
  • Re: Fourier Transform Question for Pulsed CW and 802.11b DSSS
    ... > Clay S. Turner wrote: ... >> 1st show the FT of a pulse is a sinc function. ... This integration is ... FT= integral - infty to infty of Rectexpdx ...
    (comp.dsp)
  • Re: Fourier Transform Question for Pulsed CW and 802.11b DSSS
    ... >> Clay S. Turner wrote: ... >>> 1st show the FT of a pulse is a sinc function. ... This integration is ...
    (comp.dsp)