Re: Units question
- To: mathgroup at smc.vnet.net
- Subject: [mg115487] Re: Units question
- From: "Scot T. Martin" <smartin at seas.harvard.edu>
- Date: Wed, 12 Jan 2011 04:08:11 -0500 (EST)
Ted,
That's because Mathematica does not know if the variable Meter is positive
or negative. You can using an Assuming[] formulation to tell Mathematica
that Meter is positive. Then, voila.
Assuming[
{Positive[Meter], Positive[Second]},
Refine[(Sqrt[Meter^2/Second^2] Second)/Meter^2]
]
I think I wrote this once in the MathArchives already, too, so you can
check those.
Scot
On Tue, 11 Jan 2011, Ted Sariyski wrote:
> Hi,
> Working with units I get correct result:
>
> Sqrt[Meter^2/Second^2] Second)/Meter^2
>
> How to tell Mathematica to simplify the result to Meter^-1?
> Simplify and FullSimplify doesn't do the job.
> Thanks in advance,
> --Ted
>
>
>
>
>