Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Integrating Trig Identities' topicStudent Support Forum > General > "Integrating Trig Identities"

Next Comment >Help | Reply To Topic
Author Comment/Response
Matchoo
09/18/09 09:29am

Hello

I'm trying to do this...

NIntegrate[2 Sec[3 x]^2, {x, 0, 1}]

...but I get an error message:

Integrate::idiv: Integral of Sec[3 x]^2 does not converge on {0,1}. >>
NIntegrate::ncvb: NIntegrate failed to converge to prescribed accuracy after 9 recursive bisections in x near {x} = {0.525375}. NIntegrate obtained 14640.304457539936` and 1500.4844985527366` for the integral and error estimates. >>

NIntegrate[2 Sec[x]^2, {x, 0, 1}] works fine.

Does anyone know what I need to change so I don't get the error message? I've done some searching, but I don't really know what I'm searching for.

I would very much appreciate any help.

Thanks

URL: ,

Subject (listing for 'Integrating Trig Identities')
Author Date Posted
Integrating Trig Identities Matchoo 09/18/09 09:29am
Re: Integrating Trig Identities Peter Pein 09/19/09 6:57pm
Re: Integrating Trig Identities yehuda ben-s... 09/21/09 05:40am
Re: Re: Integrating Trig Identities Matchoo 09/25/09 2:41pm
Next Comment >Help | Reply To Topic