* Re: Getting used to Calc's Radian convention
[not found] <mailman.8731.1410504469.1147.help-gnu-emacs@gnu.org>
@ 2014-09-12 19:15 ` Emanuel Berg
2014-09-13 2:26 ` jay.p.belanger
0 siblings, 1 reply; 6+ messages in thread
From: Emanuel Berg @ 2014-09-12 19:15 UTC (permalink / raw)
To: help-gnu-emacs
dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
> Calc's unit convention of revolution per minute (rpm)
> is derived from the angular speed and not from a
> frequency. One does not need to type the factor of `2
> pi' when calculating, for example, the
> circumferential velocity from the radius and some
> value in rpm. So far so good.
>
> But it has the slight aesthetic drawback that now the
> velocity turns out to be in units of radians.
>
> n <- 1 rpm
> r <- 1 m
> n r -> 2 pi rad m / min
>
> Since Radian is a base unit I can only get rid of it
> when dividing by `rad'. But I think a Radian is not a
> real physical unit and wouldn't it be consistent,
> when evaluating, to assign just the value of 1 to it?
>
> What are your thoughts?
My thoughts are: What?!
What are you doing, and what are you using? (Are you
even using Emacs?)
There are two macros:
degrees-to-radians
radians-to-degrees
But this is simple enough for you to rewrite into
functions if you prefer that.
First thought though, why can't you just get any unit
you like by simple arithmetics?
--
underground experts united
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting used to Calc's Radian convention
2014-09-12 19:15 ` Getting used to Calc's Radian convention Emanuel Berg
@ 2014-09-13 2:26 ` jay.p.belanger
2014-09-13 5:29 ` Emanuel Berg
2014-09-13 7:41 ` H. Dieter Wilhelm
0 siblings, 2 replies; 6+ messages in thread
From: jay.p.belanger @ 2014-09-13 2:26 UTC (permalink / raw)
To: help-gnu-emacs
> > Calc's unit convention of revolution per minute (rpm)
>
> > is derived from the angular speed and not from a
>
> > frequency. One does not need to type the factor of `2
>
> > pi' when calculating, for example, the
>
> > circumferential velocity from the radius and some
>
> > value in rpm. So far so good.
>
> >
>
> > But it has the slight aesthetic drawback that now the
>
> > velocity turns out to be in units of radians.
>
> >
>
> > n <- 1 rpm
>
> > r <- 1 m
>
> > n r -> 2 pi rad m / min
> My thoughts are: What?!
He's referring to Calc (part of Emacs), which can work with units (such as meters, radians, etc.)
Calc doesn't "know" that the rad probably shouldn't be there; perhaps there could be a simple way of telling it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting used to Calc's Radian convention
2014-09-13 2:26 ` jay.p.belanger
@ 2014-09-13 5:29 ` Emanuel Berg
2014-09-13 7:43 ` H. Dieter Wilhelm
2014-09-13 7:41 ` H. Dieter Wilhelm
1 sibling, 1 reply; 6+ messages in thread
From: Emanuel Berg @ 2014-09-13 5:29 UTC (permalink / raw)
To: help-gnu-emacs
jay.p.belanger@gmail.com writes:
> He's referring to Calc (part of Emacs), which can
> work with units (such as meters, radians, etc.)
>
> Calc doesn't "know" that the rad probably shouldn't
> be there; perhaps there could be a simple way of
> telling it.
Perhaps the shell tool 'units' can be used? That's what
I always use to deal with the strange units from the
UK, and the USA.
--
underground experts united
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting used to Calc's Radian convention
2014-09-13 5:29 ` Emanuel Berg
@ 2014-09-13 7:43 ` H. Dieter Wilhelm
0 siblings, 0 replies; 6+ messages in thread
From: H. Dieter Wilhelm @ 2014-09-13 7:43 UTC (permalink / raw)
To: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
> jay.p.belanger@gmail.com writes:
>
>> He's referring to Calc (part of Emacs), which can
>> work with units (such as meters, radians, etc.)
>>
>> Calc doesn't "know" that the rad probably shouldn't
>> be there; perhaps there could be a simple way of
>> telling it.
>
> Perhaps the shell tool 'units' can be used? That's what
> I always use to deal with the strange units from the
> UK, and the USA.
Yes somebody else suggested `units' to me and it seems also very
powerful, but I prefer to stay in Emacs, Calc really is a killer feature
for engineers!
Bye
Dieter
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Getting used to Calc's Radian convention
2014-09-13 2:26 ` jay.p.belanger
2014-09-13 5:29 ` Emanuel Berg
@ 2014-09-13 7:41 ` H. Dieter Wilhelm
1 sibling, 0 replies; 6+ messages in thread
From: H. Dieter Wilhelm @ 2014-09-13 7:41 UTC (permalink / raw)
To: help-gnu-emacs
jay.p.belanger@gmail.com writes:
>> > Calc's unit convention of revolution per minute (rpm)
>>
>> > is derived from the angular speed and not from a
>>
>> > frequency. One does not need to type the factor of `2
>>
>> > pi' when calculating, for example, the
>>
>> > circumferential velocity from the radius and some
>>
>> > value in rpm. So far so good.
>>
>> >
>>
>> > But it has the slight aesthetic drawback that now the
>>
>> > velocity turns out to be in units of radians.
>>
>> >
>>
>> > n <- 1 rpm
>>
>> > r <- 1 m
>>
>> > n r -> 2 pi rad m / min
>
>
>> My thoughts are: What?!
>
> He's referring to Calc (part of Emacs), which can work with units
> (such as meters, radians, etc.)
Sorry, I made myself not clear and it is basically a question about
physics but there seems to be not separate Calc mailing list.
> Calc doesn't "know" that the rad probably shouldn't be there; perhaps
> there could be a simple way of telling it.
As I said I'm happy with the angular notion of Calc's rpm unit but
it. Maybe it would help to "degrade" Radian -- it is in Calc a base unit
-- to a constant like pi and when converting to base units it simply
vanishes when saying `u b' calc-base-units or an additional unit
function for converting it to its numerical value?
Have fun with Calc
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
^ permalink raw reply [flat|nested] 6+ messages in thread
* Getting used to Calc's Radian convention
@ 2014-09-12 6:47 H. Dieter Wilhelm
0 siblings, 0 replies; 6+ messages in thread
From: H. Dieter Wilhelm @ 2014-09-12 6:47 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: Jay Belanger
Hello (:-),
Calc's unit convention of revolution per minute (rpm) is derived from
the angular speed and not from a frequency. One does not need to type
the factor of `2 pi' when calculating, for example, the circumferential
velocity from the radius and some value in rpm. So far so good.
But it has the slight aesthetic drawback that now the velocity turns out
to be in units of radians.
n <- 1 rpm
r <- 1 m
n r -> 2 pi rad m / min
Since Radian is a base unit I can only get rid of it when dividing by
`rad'. But I think a Radian is not a real physical unit and wouldn't it
be consistent, when evaluating, to assign just the value of 1 to it?
What are your thoughts?
Dieter
--
best wishes
H. Dieter Wilhelm
Darmstadt, Germany
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-09-13 7:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.8731.1410504469.1147.help-gnu-emacs@gnu.org>
2014-09-12 19:15 ` Getting used to Calc's Radian convention Emanuel Berg
2014-09-13 2:26 ` jay.p.belanger
2014-09-13 5:29 ` Emanuel Berg
2014-09-13 7:43 ` H. Dieter Wilhelm
2014-09-13 7:41 ` H. Dieter Wilhelm
2014-09-12 6:47 H. Dieter Wilhelm
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.