MathGroup Archive 2011

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

Search the Archive

[no subject]

  • To: undisclosed-recipients:;
  • From: "Steven M. Christensen" <steve at smc.vnet.net>
  • Date: Fri, 9 Dec 2011 05:58:13 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Z
Subject: [mg123513] NDSolve[]
To: mathgroup at smc.vnet.net

For the same equations, why does the first method as following give
the error but the other one give the desired result?

NDSolve[{Derivative[x[t], t] == -y[t] - x[t]^2,
  Derivative[y[t], t] == 2*x[t] - y[t], x[0] == y[0] == 1}, {x,
  y}, {t, 10}]

NDSolve[{x'[t] == -y[t] - x[t]^2, y'[t] == 2*x[t] - y[t],
  x[0] == y[0] == 1}, {x, y}, {t, 10}]



  • Prev by Date: Re: Function for complex polynomial with variable number of arguments
  • Next by Date: LinearProgramming[]
  • Previous by thread: Re: color-bar legend for the LisContourPlot
  • Next by thread: Re: NDSolve[]