Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Extract a part of expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124334] Re: Extract a part of expression
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Tue, 17 Jan 2012 03:24:51 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201162207.RAA15301@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

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