Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9426

Re: How to get the corresponding coefficients?

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to get the corresponding coefficients?
Date 2012-04-05 09:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jljps8$cpl$1@smc.vnet.net> (permalink)
References <201204040833.EAA00068@smc.vnet.net>

Show all headers | View raw


    Last[exp]
    Last @ First[exp]

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


On 4/4/12 4:33 AM, simplerbysimpler@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@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: How to get the corresponding coefficients? Murray Eisenberg <murray@math.umass.edu> - 2012-04-05 09:50 +0000

csiph-web