Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15634 > unrolled thread

Re: Integrate this how?

Started bySimon <simonjtyler@gmail.com>
First post2011-02-11 09:18 +0000
Last post2011-02-11 09:18 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Integrate this how? Simon <simonjtyler@gmail.com> - 2011-02-11 09:18 +0000

#15634 — Re: Integrate this how?

FromSimon <simonjtyler@gmail.com>
Date2011-02-11 09:18 +0000
SubjectRe: Integrate this how?
Message-ID<ij2usg$7r9$1@smc.vnet.net>
> Curve is closed (t from -Pi to Pi) and in polar form
>
> r[t_]:=(1+Sin[t]) (1+9/10 Cos[8 t]) (1+1/10 Cos[24 t]) (9/10+5/100
> Cos[200 t])
>
> Would like to find out its arc length, so the integral of
>
> Sqrt[r[t]^2+D[r[t],t]^2]
>
> Version 7 complains but returns a somewhat reasonable number
> (something around 50; drew together with a circle of the same length),
> version 8 says nothing but gives just too low a number (five and
> something). How can this be? New Mathematica should have no problem
> with such high oscillatory integrands, shouldn't she?

I find that both 7 and 8 give basically the same results for the arc-
length, approx 48.37.
You can get rid of the error messages by bumping up MaxRecursion and
WorkingPrecision (but it will make the integral slower).
Or maybe try simplifying the integrand first.
You get a value of 5.65487 from doing this integral
NIntegrate[r[t], {t, -Pi, Pi}]
in either 7 or 8.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web