MathGroup Archive 2006

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

Search the Archive

Re: Algorithm in NDSolve and FindMinimum


Texas A&M wrote:
> FindMinimum[
>     Block[{},
>       if1 = NDSolve[{fun[z1] == 0, h[0] == unknown1, h'[0] == 0},
>           h, {z1, 0, a}];  vans1 = (h[a])^2 /. if1[[1]];
>       vans1], {unknown1, 0.1, 1.2}]
> 
> What this command really does?
> Do NDSolve (or FindMinimum) always use the same Algorithm?
> 
> Thanks,
> 
> Kai
> 
> 
Not sure what you are trying to do. As written, the Block function is 
useless, you have not fed NDSolve with a differential equation, and the 
range of the variable is not made of numeric values.

NDSolve[{fun[z1] == 0, h[0] == unknown1, Derivative[1][h][0] == 0}, h, 
{z1, 0, a}]

--> NDSolve::"ndode" : "Input is not an ordinary differential equation.

Jean-Marc


  • Prev by Date: Possible bug in Histogram
  • Next by Date: Re: Beginner--[Please Help]How to get coefficient list issued from a Series Command
  • Previous by thread: Re: Algorithm in NDSolve and FindMinimum
  • Next by thread: Re: Algorithm in NDSolve and FindMinimum