MathGroup Archive 2006

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

Search the Archive

using a previous result

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67324] using a previous result
  • From: ridley_david at yahoo.com
  • Date: Sun, 18 Jun 2006 05:13:19 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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?

Thank you,
David

For example:
q1=a+b p1 +g p2;q2 = c+d p2 + e p1;profit1=p1 q1;profit2=p2 q2;
FullSimplify[Solve[{D[profit1,p1]==0,D[profit2,p2]==0},{p1,p2}]]


  • Prev by Date: Re: Mathematica bugs?
  • Next by Date: Re: Unexpected condition on convergence of integral
  • Previous by thread: Menu/Kernel/Evaluation/Evaluate Notebook
  • Next by thread: Re: using a previous result