Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #244
| From | Joe Riel <joer@san.rr.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.maple |
| Subject | Re: Difficulty with simplifying an expression |
| Date | 2011-09-22 14:11 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <87k4902sf7.fsf@san.rr.com> (permalink) |
| References | <j5g6p1$fv7$1@news.albasani.net> |
rouben@shadow.(none) (Rouben Rostamian) writes: > I have tried this in Maple versions 11 through 14. > Maple refuses to do an obvious simplification. > Here are the details. > > Consider the expression "u" produced by: > > with(Statistics): > X:=RandomVariable(Normal(mu,sigma)); > u := AbsoluteDeviation(X,t); > > The expression u consists of a sum of three terms and nops(u) > correctly gives 3. Two of the terms are of the form > "exp(-A) * B * exp(A)" (for some A and B) which should simplify > to B. Doing "simplify(u)" or "simplify(expand(u))" does not > help. > > The only way I could simplify u was by taking it apart, > simplifying each term, then putting it back together, as in: > > v := expand(u); > simplify(op(1,v)) + simplify(op(2,v)) + simplify(op(3,v)); > > Is there a reason why Maple refuses to simplify the original u? I cannot answer that, but a simpler way to do what you want is to use the map command: map(simplify, v); -- Joe Riel
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Next in thread | Find similar
Difficulty with simplifying an expression rouben@shadow.(none) (Rouben Rostamian) - 2011-09-22 20:45 +0000
Re: Difficulty with simplifying an expression Joe Riel <joer@san.rr.com> - 2011-09-22 14:11 -0700
Re: Difficulty with simplifying an expression rouben@shady.(none) (Rouben Rostamian) - 2011-09-23 14:05 +0000
csiph-web