Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: On Reduce

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72043] Re: On Reduce
  • From: "sigmundv" <sigmund at ostenfeld.dk>
  • Date: Sat, 9 Dec 2006 06:09:52 -0500 (EST)
  • References: <elbi51$k23$1@smc.vnet.net>

Hi mr. V. Stokes,

You can use First[] and Last[], respectively, to assign 0 and 8,
respectively, to a variable.

//Sigmund

Virgil Stokes wrote:
> I have the following small piece of Mathematica code that works fine for
> my purposes.
>
>  BInv = {{  1/4, 1/4, 0},
>               {-1/2, 1/2, 0},
>               {  3/4, -5/4, 1}}
>  B = Inverse[BInv]
>  b = {4 + \[Delta], 8, 10};
>  BInv.b // FullSimplify
>  Reduce[{%[[1]] >= 0, %[[2]] >= 0, %[[3]] >= 0}, {\[Delta]}]
>  % /. {\[Delta] -> b1 - 4} // FullSimplify
>
> which gives
>
> 0 <=  b1 <= 8
>
> which is of course correct. But, how can I use (access) the values 0 and 8?
> That is, I would like to now use these values in some expressions that
> would follow this.
> 
> Thanks,
> V. Stokes


  • Prev by Date: Re: Relatively simple, but problematic, non-linear ODE
  • Next by Date: interpolation of a matrix function
  • Previous by thread: Re: On Reduce
  • Next by thread: Re: On Reduce