Getting numerical values from a closed form integration?

"Alasdair McAndrew" <[email protected]>
Newsgroups gmane.comp.mathematics.axiom.user
Message-ID <[email protected]>
For example:

integrate(sin(2*x),x=-%pi/3..4*%pi/7)

The answer is in closed form, but I can't convert it to a float.  At least:

integrate(sin(2*x),x=-%pi/3..4*%pi/7)::Float

doesn't work.  How do I obtain a numerical result from a closed form
"integrate"?

Thanks,
Alasdair

_______________________________________________
Axiom-mail mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-mail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.