Q:Changing Mathematica default terms arrangement
- To: mathgroup at smc.vnet.net
- Subject: [mg52741] Q:Changing Mathematica default terms arrangement
- From: dluego at yahoo.es (Diego Luego)
- Date: Sat, 11 Dec 2004 05:22:02 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello,
I am wondering if it is possible to ask Mathematica
the following:
1.- In the output below (Out[7]), instead of the Mathematica
default arrangement of terms in the numerator, I would
like to obtain
xn[1 + i] - xn[i - 1].
In[6]:= xc[i_] := (xn[i] + xn[i-1])/2
In[7]:= deno = Factor[(xc[i+1] - xc[i])]
-xn[-1 + i] + xn[1 + i]
Out[7]= -----------------------
2
2.- I would like to be able to tell Mathematica to show the
answer of output Out[8] in the form
Fc[1 + i] - Fc[i]
-----------------------
xn[1 + i] - xn[i - 1]
-----------------------
2
In[8]:= a = (Fc[i+1] - Fc[i])/deno
2 (-Fc[i] + Fc[1 + i])
Out[8]= -----------------------
-xn[-1 + i] + xn[1 + i]
Thanks for your help.
Diego