Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7543

Re: Rule replacement doesn't work after NDSolve?

From "Nasser M. Abbasi" <nma@12000.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Rule replacement doesn't work after NDSolve?
Date 2012-01-03 10:29 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jdul9m$jp9$1@smc.vnet.net> (permalink)
References <jdrnpb$93i$1@smc.vnet.net>

Show all headers | View raw


On 1/2/2012 1:53 AM, gac wrote:
> Can anyone explain why the three rule replacement steps after NDSolve don't work,
>but the three Plot3D commands do?  Thanks.

Change

Subscript[x, 2][0.1, 1] /. sol

with

Subscript[x, 1] [z, t] /. sol

The plot commands work becuase you used the correct names there, i.e
Subscript[x, 1] [z, t] etc..

--Nasser


Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Rule replacement doesn't work after NDSolve? gac <g.crlsn@gmail.com> - 2012-01-02 07:53 +0000
  Re: Rule replacement doesn't work after NDSolve? "Nasser M. Abbasi" <nma@12000.org> - 2012-01-03 10:29 +0000
  Re: Rule replacement doesn't work after NDSolve? A Retey <awnl@gmx-topmail.de> - 2012-01-03 10:32 +0000

csiph-web