MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Simplifying=> Sqrt[Meter^2/Second^2]

  • Subject: [mg2988] Re: Simplifying=> Sqrt[Meter^2/Second^2]
  • From: ianc (Ian Collier)
  • Date: 19 Jan 1996 11:00:04 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: mj at wri.com

In article <4dksvr$h5q at dragonfly.wri.com>, justin at fns.net wrote:

> Does anyone know if mathematica can be "taught" that an
> expression of the Sqrt[Meter^2/Second^2] is equivalent to and should
> be simplified to Meter/Second?
> 
> Thanks in Advance
>    Justin at fns.net
>    UF Mechanical Engineering


You can use Power Expand to do this.

In[21]:=

    ?PowerExpand
    PowerExpand[expr] expands nested powers, powers of products,
       logarithms of powers, and logarithms of products.
       PowerExpand[expr, {x1, x2, ...}] expands expr with
       respect to the x1. Use PowerExpand with caution because
       PowerExpand does not pay attention to branch cuts.

In[22]:=
    PowerExpand[ Sqrt[Meter^2/Second^2] ]
Out[22]=
    Meter
    ------
    Second

I hope this helps.

--Ian

-----------------------------------------------------------
Ian Collier
Technical Sales Support
Wolfram Research, Inc.
-----------------------------------------------------------
tel:(217) 398-0700     fax:(217) 398-0747      ianc at wri.com
Wolfram Research Home Page:             http://www.wri.com/
-----------------------------------------------------------


  • Prev by Date: Re: Segmentation fault under Solaris 2.5
  • Next by Date: Re: Triangulation Problem
  • Previous by thread: Re: Simplifying=> Sqrt[Meter^2/Second^2]
  • Next by thread: Re: Simplifying=> Sqrt[Meter^2/Second^2]