MathGroup Archive 2004

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

Search the Archive

RE: Re: Anyone using the Units package extensively?

  • To: mathgroup at
  • Subject: [mg45712] RE: [mg45689] Re: Anyone using the Units package extensively?
  • From: "David Park" <djmp at>
  • Date: Wed, 21 Jan 2004 04:54:55 -0500 (EST)
  • Sender: owner-wri-mathgroup at


The problem occurs in converting real numbers to Degree.


The following works...

Convert[%, Degree]
45 °

The following does not (because Degree coverts the result right back to

Convert[%, Degree]

1.57 Radian
Convert[%, Degree]
1.57 Radian

We could do this but then we lose the degree sign


With the ExtendUnits package from my web site...


1.57 // ToUnit[Degree]
89.9544 °

1.57 Radian // ToUnit[Degree]
89.9544 °

but ° is put in a HoldForm.

On a different topic, I notice that many people on MathGroup use addresses
that are not usable for replies or that need to be changed for a reply. In
your case I'm not certain if the address is good or how I would subtract one
hundred and four from it. I know how awful spam and virus email is and still
one should be able to have a usuable email address without engaging in
puzzles for responders to solve. I didn't want to use a fake or scrambled
email address but at the same time my email address was becoming almost
complete unusable. Two months ago I subscribed to a service, SpamArrest,
which 99.9% solves the problem. I know that Earthlink has a similar service
and there may be others. One has an approved senders list and new real
people can get on the list by going through a one-time verification process
that involves typing in a word displayed in a graphic. Machines and software
can't do it (yet!) and spammers don't find it cost efficient since they can
immediately be removed or put on a block list. Now I feel like I own my
email address. When I get an email it's real. It also works with MathGroup
email, which I get sent to me directly.

David Park
djmp at

From: Bill Rowe [mailto:readnewsciv at]
To: mathgroup at

On 1/19/04 at 5:15 AM, djmp at (David Park) wrote:

> Yes, but the problem is that if one is using the Units package then Degree
> is both a Unit and a Mathematica Constant. The usages conflict and I
> it was a mistake in design.

Perhaps I am missing something, but I don't see a conflict here. Whether I
have the package Miscellaneous`Units` loaded or not, I can do things like

Plot[Sin[x Degree], {x, 0, 180}] or
Plot[x/Degree, {x, 0, 1}]

And get the expected result.

Where is the conflict?

To reply via email subtract one hundred and four

  • Prev by Date: Re: AW: Loading a Package
  • Next by Date: Re: Tail recursion and local functions
  • Previous by thread: Re: Anyone using the Units package extensively?
  • Next by thread: Diffrential equation with maple