Re: Mathematica question
- To: mathgroup at smc.vnet.net
- Subject: [mg124804] Re: Mathematica question
- From: Richard Fateman <fateman at cs.berkeley.edu>
- Date: Tue, 7 Feb 2012 04:06:16 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jgo0h5$a3f$1@smc.vnet.net>
On 2/5/2012 11:46 PM, Howie wrote:
> Let's say you've got an expression
>
> expr = {Sin[x] + x^2 - x^2*Cos[x], x^3 (1 + x^2) - x^3, x^4 - x^3}
>
> What does this mean?
>
> Table[expr[[j]] // FullSimplify[#, $assumptions]& /@ #& // Expand //
> @ #&, {j, 3}]
>
> I am new to Mathematica as far as these more complicated expressions
> are concerned.
>
> Can you explain symbol by symbol?
>
> I realize that the [[j]] is Part and that FullSimplify is applied //
> Postfix to expr, but I don't understand what $assumptions means (I'm
> assuming that these are some assumptions added to FullSimplify) but I
> do not know where these assumptions come from. Are these assumptions
> the rest of the stuff on the right-hand side?
>
> In reality I have a potentially much more complicated form of the
> expr.
>
> Thanks!
>
>
1. Since you are new to Mathematica and obviously didn't write that
expression, why don't you ask the person who you got it from to explain it?
2. Figure out a better 'subject' line for posts in the future.