Re: a bug in mathematica 5?
- To: mathgroup at smc.vnet.net
- Subject: [mg43253] Re: a bug in mathematica 5?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Sat, 23 Aug 2003 08:08:27 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <bh2714$hra$1@smc.vnet.net> <200308191153.HAA23522@smc.vnet.net> <bi182l$ad1$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
using a definition like
Hd[B1_?NumericQ, B2_?NumericQ...]=Nintegrate[(Hz-1)^2,{zo,-L/2,L/2}]
will prevent that Mathematica try to evaluate the numerical
approximation
symbolical.
Regards
Jens
Jason Sidabras wrote:
>
> I actually joined this mathgroup because I had a question about this.
> I am trying to solve fairly complicated integral problems using FindRoot to
> figure out my coefficients. The code works without an error in 4.2 but in 5
> I get an error about the function not being a real number when z=0 (which is
> one of my integration variables) Basically same error.
>
> F[x] for me is an NIntegrate of a least of 2 squares over a Region of
> Interest.
>
> Hd[B1_, B2_...]=Nintegrate[(Hz-1)^2,{zo,-L/2,L/2}]
> Where Hz is a huge expression generated by the number of coeff's and my
> kernel.
>
> Hopefully this can be resolved because I really would like to use the
> Conjugate Gradient Method built into FindRoot on 5.
>
> I didnt notice the {x,{x0,x1}} change in the doc but thats not a real
> problem.
>
> Hopefully this can get resolved with a simple patch.
>
> Jason
- References:
- Re: a bug in mathematica 5?
- From: "Alan" <infoNOSPAM@optioncity.net>
- Re: a bug in mathematica 5?