Re: Questions about Abs[_]
- To: mathgroup at smc.vnet.net
- Subject: [mg55591] Re: Questions about Abs[_]
- From: "Dan" <dantopa at gmail.com>
- Date: Wed, 30 Mar 2005 03:22:16 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi Andrzej:
Mathematica is considering the most general case. I am thinking that
you are dealing with all positive numbers since you have stated the
answer you want.
Let's tell Mathematica we have all positive numbers.
x = Abs[(2 z0 - 2 d m)^2]; (* define the function *)
lst={z0,d,m}; (* assemble all variables in a list *)
Simplify[x,lst\[Element]Reals && lst > 0] (* apply criteria *)
output =
(2 z0 - 2 d m)^2
Hope this helps,
Dan
- Follow-Ups:
- Re: Re: Questions about Abs[_]
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Re: Questions about Abs[_]