MathGroup Archive 2001

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

Search the Archive

Re: Simplyfying expression


In a message dated 2001/8/31 4:23:48 AM, 
shusaku.yamamoto at buseco.monash.edu.au writes:

>I have another problem. I tried simplifying the solutions of a
>simultaneous difference equations; i.e. I typed
>
>Simplify[-1-5*(3^x)+(31/63)*(2^(2+x))*(5^(1+x))-((53*(10^x))/63)]
>Simplify[-1-5*(3^x)+(31/63)*(2^(2+x))*(5^(1+x))-((53*(10^x))/63),x "set
>of" Reals]
>FullSimplify[-1-5*(3^x)+(31/63)*(2^(2+x))*(5^(1+x))-((53*(10^x))/63)]
>
>Yet, Mathematica does not simplify the expressions. I know the above
>expression can be written as:
>-1-5*(3^x)+9(10^x).
>

expr=-1-5*3^x+(31/63)*2^(2+x)*5^(1+x)-(53*10^x)/63;

Using brute force

FullSimplify[expr /. 
      2^x_ -> a*2^(x-1 )] /. 
  a -> 2

-1 - 5*3^x + 9*10^x


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Font Kerning
  • Next by Date: Re: convert graphics
  • Previous by thread: RE: Simplyfying expression
  • Next by thread: Fitting data to line with a specific slope