Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.symbolic.independent

Topic: Numerical integration with maxima
Replies: 4   Last Post: Nov 7, 2012 3:21 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Nasser Abbasi

Posts: 5,688
Registered: 2/7/05
Re: Numerical integration with maxima
Posted: Nov 6, 2012 10:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

fyi;

If you do not get answer here (I myself do not use Maxima) you
can try the Maxima mailing list

http://maxima.sourceforge.net/maximalist.html


On 11/6/2012 4:46 AM, Claude wrote:
> Dear readers
>
> I would like to numerically integrate the function abs(sin(x)) over the
> domain 0 to 2*pi.
>
> I've defined the function
> f=abs(sin(x))
>
> and then I called
>
> integrate(f, x, 0, 2*pi)
>
> But now I don't know how to numerically evaluate this integral.
>
> Manually, it is easy to see that the result should be 4, but how to ask
> maxima to compute this ?
>
> Similarly, I cannot plot this function over the same domain. I've tried :
>
> wxplot2d([abs(sin(x))], [x,0,6.28])$
>
> which gives the expected graph, but, if I replace the value 6.28 by 2*pi,
> wxmaxima says that
>
> plotting: range must be of the form [variable, min, max]; found: [x,0,2*pi]
>
>
> Can you please give me some advice?
>
> Thank you in advance for your help
>
>





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.