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

MathGroup Archive 2011

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

Search the Archive

Re: Why this cannot be solved

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116191] Re: Why this cannot be solved
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Fri, 4 Feb 2011 01:41:44 -0500 (EST)
  • References: <iie085$bpp$1@smc.vnet.net>

I'm not sure what you're trying to do here, aP is a function name, not
a variable. You can't solve for that. Also aP == a is not an algebraic
equation as both aP and a are heads not variables.


Cheers -- Sjoerd

 On Feb 3, 11:32 am, olfa <olfa.mra... at yahoo.fr> wrote:
> Hi Mathematica community,
> System 1)
> Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
> +Sum[a[j],{j,i,n}] &&
>    aP == a && iP == n, {aP, iP, d, c}, Reals]
>
> this gives:
> Reduce::nsmet: This system cannot be solved with the methods available
> to Reduce.
>
> System 2)
> Reduce[Max[e, s + a[i]] == Max[c, d + aP[iP]] && d == s - a[n]
> +Sum[a[j],{j,i,n}] , { d, c}, Reals]
>
> this gives solutions.
>
> the only difference between them is the variables aP and iP and their
> respective equations.
> What I didn't understand is why the first system cannot be solved
> although I have given values for iP and aP inside of it?
>
> thank you.



  • Prev by Date: Re: Mixing optional parameters and options
  • Next by Date: Re: Mixing optional parameters and options
  • Previous by thread: Why this cannot be solved
  • Next by thread: Re: Why this cannot be solved