MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: a bug in mathematica 5?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43222] Re: a bug in mathematica 5?
  • From: Jason Sidabras <sidabras.jason at nsgcorp.net>
  • Date: Wed, 20 Aug 2003 22:25:15 -0400 (EDT)
  • References: <bh2714$hra$1@smc.vnet.net> <200308191153.HAA23522@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: Re: How to evaulate a function and graph it
  • Next by Date: Re: Fills in StackGraphics ?
  • Previous by thread: Re: a bug in mathematica 5?
  • Next by thread: Re: a bug in mathematica 5?