MathGroup Archive 2006

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

Search the Archive

Re: using a previous result

  • To: mathgroup at
  • Subject: [mg67351] Re: using a previous result
  • From: Bill Rowe <readnewsciv at>
  • Date: Mon, 19 Jun 2006 00:01:14 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 6/18/06 at 5:13 AM, ridley_david at wrote:

>Once I've solved a system of equations, I would like to use the
>previous results in future equations. If my output is
>{{p1->x,p2->y}} how do I assign those values as p1star and p2star so
>I can reuse them?

This will do what you want


But note often it isn't necessary to extract the values from rules. For example here is a root of a simple polynomial


{x -> -0.7807764064044151}

Now this can be used to evaluate any expression of x say 2 x + 1 as follows:

2 x+1/.root


To reply via email subtract one hundred and four

  • Prev by Date: Re: matrix substitution-> theta1 minimal Pisot quotient group
  • Next by Date: Re: Re: Package writing
  • Previous by thread: Re: using a previous result
  • Next by thread: RE: using a previous result