MathGroup Archive 2009

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

Search the Archive

Re: MaxValue

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99105] Re: [mg99084] MaxValue
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Mon, 27 Apr 2009 01:16:15 -0400 (EDT)
  • References: <200904260540.BAA14807@smc.vnet.net>
  • Reply-to: drmajorbob at bigfoot.com

Maximize[(-1)^n, n, Integers]

Maximize[(-1)^n, n, Integers]

and

MaxValue[(-1)^n, n, Integers]

MaxValue[(-1)^n, n, Integers]

Utter failure. We know the answers but Mathematica, surprizingly, does not.

Bobby

On Sun, 26 Apr 2009 00:40:18 -0500, BG <galt32 at gmail.com> wrote:

> Suppose I want to find supremum of {(-1)^n: n is natural}, MaxValue
> just returns the question itself.
> if I ask it sup of (1+2)^n, it givs infinity, but max of (1-2)^n it
> just returns the question itself.
> FindMaximum and FindMinimum also can't handle (-1)^n...how can it be
> done then?
>



-- 
DrMajorBob at bigfoot.com


  • References:
  • Prev by Date: Manipulate problems again
  • Next by Date: Re: MaxValue
  • Previous by thread: MaxValue
  • Next by thread: Re: MaxValue