Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: [newb] simple equation substitutions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128539] Re: [newb] simple equation substitutions
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Fri, 2 Nov 2012 00:42:46 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k6t7qk$1mi$1@smc.vnet.net>

There are several possibilities:

expr = {y == x + 2, x == 7};
Solve[expr, {x, y}]
Reduce[expr]
Eliminate[expr, x]

giving:

{{x -> 7, y -> 9}}
y == 9 && x == 7
y == 9
-- 
_________________________________________________________________
Peter Breitfeld | Bad Saulgau, Germany | http://www.pBreitfeld.de



  • Prev by Date: How can I solve this equation with Solve or Reduce or whatever for
  • Next by Date: Formatting Dynamic Output
  • Previous by thread: Re: simple equation substitutions
  • Next by thread: Re: [newb] simple equation substitutions