Re: Symbolic Calculation
- To: mathgroup at smc.vnet.net
- Subject: [mg38726] Re: Symbolic Calculation
- From: "Kevin J. McCann" <kjm@KevinMcCann>
- Date: Tue, 7 Jan 2003 07:26:23 -0500 (EST)
- References: <avbgik$3gq$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Ashraf, You should read up on Solve, here is what you want to do Solve[Y==C+M+v*Y,Y] the Mathematica response is {{ Y->(C+M)/(1-v)}} A couple of things to note: 1) the "equals" in the equation is a double = sign. 2) I wrote v*Y instead of vY as you did. You could also put a space between the v and Y instead: v Y 3) the answer is a Rule. You will need to read up on those as well. Here is one way to use the result: soln=Solve[Y==C+M+v*Y,Y] y=Y/.soln[[1]] you will now have y = (C+M)/(1-v) Good luck, Kevin "Ashraf El Ansary" <Elansary at btopenworld.com> wrote in message news:avbgik$3gq$1 at smc.vnet.net... > Dear all, > Does anyone know how to solve dynamic models using Mathematica. > Example: > Y= C+M+vY > all I want to do is to get a symbolic solution to that equation i.e > Y-vY=C+M > Y=(C+M)/(1-v)!!! > > > Thanks > > >