Re: How to Eliminate

• To: mathgroup at smc.vnet.net
• Subject: [mg75068] Re: How to Eliminate
• From: "Raj" <rajanikanth at gmail.com>
• Date: Mon, 16 Apr 2007 04:12:09 -0400 (EDT)
• References: <evsr25\$14h\$1@smc.vnet.net>

```Hi! Takata,

The way to do it is store the solution in a variable and evaluate the
variable x using the solution variable

For example:

soln = Solve[(x - 0.1) (x - 0.5) == 0, x]
{{x -> 0.1}, {x -> 0.5}}

then doing this x /. soln gives {0.1, 0.5}

Cheers,

Raj

On Apr 15, 2:25 am, Jika... at aol.com wrote:
> Dear Members:
> When I use "Solve" in order to solve polynomials with high orders, its
> solutions are usually reterned in terms of a pair of nested braces,
> like {{x -> 0.1}, {x -> 0.5}}. In this situation, I would like to
> obtain a pair of braces such as {0.1, 0.5}.  In other words, I would
> like to know how to eliminate x ->.
> How can I obtain my result?
>
>       Sincerely
>       F. Takata.

```

• Prev by Date: Re: Mathematica help
• Next by Date: Re: How to Eliminate
• Previous by thread: Re: How to Eliminate
• Next by thread: Re: How to Eliminate