Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7498 > unrolled thread

Re: beginner question regarding units in equations

Started byBill Rowe <readnews@sbcglobal.net>
First post2011-12-31 07:02 +0000
Last post2011-12-31 07:02 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: beginner question regarding units in equations Bill Rowe <readnews@sbcglobal.net> - 2011-12-31 07:02 +0000

#7498 — Re: beginner question regarding units in equations

FromBill Rowe <readnews@sbcglobal.net>
Date2011-12-31 07:02 +0000
SubjectRe: beginner question regarding units in equations
Message-ID<jdmc2c$gs9$1@smc.vnet.net>
On 12/30/11 at 7:09 AM, szhorvat@gmail.com (Szabolcs Horv=C3=A1t) wrote:

>On 2011.12.29. 8:53, RDog wrote:

>>Many civil engineering equations are empirically derived and
>>therefore the units dont work out exactly. How does Mathematica
>>handle units in equations and especially in empirical equations
>>where there may be parameters set to weird exponetial powers. Does
>>the program use units at all in equations or does the user need to
>>keep track?

>Mathematica does not know about units.  It does not keep track of
>units by default.  So you don't need to worry about units not
>matching.

>There is the Units` package which provides some limited support for
>units, but I have never used it seriously.  I think that not using
>units explicitly in your program will be the most productive way to
>work.

There is another package AutomaticUnits available at
<http://library.wolfram.com/infocenter/MathSource/7655/>

that significantly improves upon the Units package. Along with
other things you can do:

<< AutomaticUnits`

radius = r Centimeter;
area = Pi r^2;
Plot[area, {r, 0, 2}]

and get the desired plot without worrying about the units. A
much better solution than the Units package.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web