Re: Polonomyal Quotient
- To: mathgroup at smc.vnet.net
- Subject: [mg2381] Re: Polonomyal Quotient
- From: espen.haslund at fys.uio.no (Espen Haslund)
- Date: Tue, 31 Oct 1995 23:22:06 -0500
- Organization: Universitet i Oslo
In article <46n9mt$4cd at ralph.vnet.net>, hans.steffani at e-technik.tu-chemnitz.de (Hans Steffani) says:
>
>In[5]:= (1. t^3 + 2 t^5) / ( t^2 ( 3 + 4 t^2) )
>
.....
>How can I make mathematica calculating
>
>In[11]:= Simplify[Numerator[Out[6]]/t^2] / Simplify[Denominator[Out[6]]/t^2]
>
> 3
> 1. t + 2 t
>Out[11]= -----------
> 2
> 3 + 4 t
>
>
>Hans Friedrich Steffani
>--
>Hans Friedrich Steffani
>Institut fuer Elektrische Maschinen und Antriebe
>TU Chemnitz-Zwickau
>e-mail: hans.steffani at e-technik.tu-chemnitz.de
>
>
>
expr = (1. t^3 + 2 t^5) / ( t^2 ( 3 + 4 t^2) )
3 5
1. t + 2 t
-------------
2 2
t (3 + 4 t )
(* The combination of Expand and Together do the trick *)
(* in your particular case *)
Together[Expand[expr ] ]
3
2 (0.5 t + t )
--------------
2
3 + 4 t
(* To avoid the number two outside *)
ExpandNumerator[Together[Expand[expr ] ] ]
3
1. t + 2 t
-----------
2
3 + 4 t
Hope this is of some help.
Espen Haslund
espen.haslund at fys.uio.no