MathGroup Archive 2012

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

Search the Archive

Re: Extract a part of expression


Try a legal expression. That one isn't.

Bobby

On Mon, 16 Jan 2012 16:07:20 -0600, Miguel Gil <misvrne at gmail.com> wrote:

> How I can extract the full numerator (or denominator) of an expression  
> of the form g (x) / w (x)?.
> I tried to do with Numerator [expr], but returns a wrong result. I tried  
> with the attribute HoldForm [expr] and can not get the correct result.
>
> For example:
>   expr = (x ^ 2 Cos [x] (Sin [2x], Tan [x ]))/( E ^ x * x * Csc [x] ^ 2)
>


-- 
DrMajorBob at yahoo.com



  • Prev by Date: Re: How to remove the Null character in a Table?
  • Next by Date: Re: How to check whether an infinite set is closed under addition?
  • Previous by thread: Extract a part of expression
  • Next by thread: Re: Extract a part of expression