Re: Symbolic Calculation
- To: mathgroup at smc.vnet.net
- Subject: [mg38752] Re: Symbolic Calculation
- From: "Steve Luttrell" <luttrell at _removemefirst_westmal.demon.co.uk>
- Date: Wed, 8 Jan 2003 04:13:26 -0500 (EST)
- References: <avbgik$3gq$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You can use the OPLinearAlgebra package (http://library.wolfram.com/database/MathSource/4271/) to solve this type of noncommutative algebra problem. Here is what the solution looks like (The \[Diamond] is a non-commutative multiply.): << "OPLinearAlgebra`" SetOperators[Y, C, M, v] {C, M, v, Y} OPSolve[{Y == C + M + v \[Diamond] Y}, {Y}] "Calling OPLinearEqnToMatrices ... " "CollectPower is On." "Variable Position-> Right" "Calling OPLinearSolve to give the result ... " {Y -> (1 - v)^(-1) \[Diamond] (C + M)} -- Steve Luttrell West Malvern, UK "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 > > >