MathGroup Archive 2003

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

Search the Archive

Ouput Form

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42445] Ouput Form
  • From: "Ashraf El Ansary" <Elansary at btopenworld.com>
  • Date: Tue, 8 Jul 2003 04:37:26 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear All,
I'm trying to get to give result in the form of a quotient in the following
example

In[1]:=
\!\(Together[2 - \(n + 2\)\/2\^n]\)
Out[1]=
\!\(2\^\(-n\)\ \((\(-2\) + 2\^\(1 + n\) - n)\)\)



I know that if n is negative the above will be true, is there a way to tell
mathematica that n is positive number so that the output would look as
follows:

(-2+2^(1+n)-m)
------------------  that is  (-2+2^(1+n)-m)/(2^n)
2^n

rather than have a negative exponent in the numerator

Thank you very much

Ashraf






  • Prev by Date: ListConvolve?
  • Next by Date: Re: How to create my mathematica package
  • Previous by thread: Re: ListConvolve?
  • Next by thread: Re: Ouput Form