MathGroup Archive 2002

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

Search the Archive

AW: Choose one solution in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36114] AW: [mg36095] Choose one solution in Mathematica
  • From: Matthias.Bode at oppenheim.de
  • Date: Thu, 22 Aug 2002 04:32:51 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Roberto,
try

<< Algebra`InequalitySolve`

InequalitySolve[{x^2 - 2x + 1 == 0, x > 0}, x]

Out: x == 1

Best regards,
Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Koenigsberger Strasse 29
D-60487 Frankfurt am Main
GERMANY
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 95 380
E-mail: matthias.bode at oppenheim.de
Internet: http://www.oppenheim.de



-----Ursprüngliche Nachricht-----
Von: roberto.de_santis at ecb.int [mailto:roberto.de_santis at ecb.int]
Gesendet: Mittwoch, 21. August 2002 11:52
An: mathgroup at smc.vnet.net
Betreff: [mg36095] Choose one solution in Mathematica


Dear all,

Assume that 

x^2 - 2x + 1 = 0

The two solutions are x = -1 and x = 1.
If I assume that x > 0, then the only relevant solution would be x = 1.

How can I tell this to Mathematica?

Solve[x^2 - 2x + 1 = 0, x]

and then........

Many thanks.

Roberto De Santis


  • Prev by Date: Re: Choose one solution in Mathematica
  • Next by Date: RE: Choose one solution in Mathematica
  • Previous by thread: how do I compile when I use Visual studio.net
  • Next by thread: RE: function mySet[], Strings to Symbols