Message Boards Message Boards

0
|
7506 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Why is the standard spec. for units always with a starting capital letter?

(I hope this is not a repeated question)

When we write Quantity[ 1, "Newtons"], Mathematica has an automatic suggestion of Newtons and not newtons.

This seems strange, because N or newton is the name we give to a standardized force entity/constant, while Newton is a person, and hence, 10 Newtons is not a force, but a crowd...

This being written as strings, why was this done outside the typical notation norms?

(if I'm not mistaken, the standards CGPM? ISO? CEI? IUPAP?, etc, also recommend meters and not Meters, just for homogeneity reasons, but then, simply m, since we don't give tribute to someone)

POSTED BY: Pedro Fonseca
2 Replies

I have absolutely no idea. Maybe it's an attempt to stay closer to the upper-case convention for built-in symbols? Or perhaps the automatic suggestions aren't triggered by lower-case words because those are more likely to be true free-form input, while upper-case input is likely to be the user's attempt at guessing the correct input? Note that Quantity[1, "newtons"] is perfectly valid, and the output uses "N" anyway, so "Newtons" never show up unless you use autocompletion...

POSTED BY: Bianca Eifert

Yes, this is definitely to adhere to convention. All built-in symbols, including ones normally lowercase like the constants e and i, are capitalized (see here.)

POSTED BY: Jesse Friedman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract