Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Algorithm in NDSolve and FindMinimum

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70163] Re: Algorithm in NDSolve and FindMinimum
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Fri, 6 Oct 2006 01:58:16 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <eg2eg8$78u$1@smc.vnet.net>

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