Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: How to get the corresponding coefficients?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125850] Re: How to get the corresponding coefficients?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 5 Apr 2012 05:47:06 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201204040833.EAA00068@smc.vnet.net>
  • Reply-to: murray at math.umass.edu

    Last[exp]
    Last @ First[exp]

Why are you using := (SetDelayed) there instead of just = (Set)??


On 4/4/12 4:33 AM, simplerbysimpler at gmail.com wrote:
> If    exp:= x3 Exp[x1+x2];
> How can I get the coefficient x3 and the exponential x1+x2 from the exp in a simple way?
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305



  • Prev by Date: Re: Pattern Syntax for Alternate Heads with Default Value
  • Next by Date: How to consistently define StandardForm for output?
  • Previous by thread: Re: How to get the corresponding coefficients?
  • Next by thread: Re: How to get the corresponding coefficients?