MathGroup Archive 2005

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

Search the Archive

Avoiding usage of function brackets

  • To: mathgroup at
  • Subject: [mg62608] Avoiding usage of function brackets
  • From: "Narasimham" <mathma18 at>
  • Date: Tue, 29 Nov 2005 04:45:35 -0500 (EST)
  • Sender: owner-wri-mathgroup at

(My earlier suggestion here). I wanted to avoid [t] in NDSolve as t is
the one and only independent variable needing to be used in this
particular case of ODE solving. Please indicate how  [t] may be
appended to y, y', y''  to be  taken into effect for the usual
implementation in the example. Code is not under-specified because
symbol t is identified along with its range.When not declared as a
constant, the unparanthesized dependent parameter y is clearly the
dependant variable.

Constant {om = 3, a = 5, b = 1 }
NDSolve[ {y'' == - om^2 * y , y' == a, y == b}, y, { t, 0, 2 Pi}];

TIA ,  Narasimham

  • Prev by Date: Re: Get numbers out of PhysicalConstants?
  • Next by Date: Built-In fuctions redefined---How?
  • Previous by thread: Re: Avoiding usage of function brackets
  • Next by thread: Re: FW: 3D plot question