Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.maple > #347 > unrolled thread
| Started by | "Thomas D. Dean" <tomdean@speakeasy.org> |
|---|---|
| First post | 2012-02-04 22:28 -0800 |
| Last post | 2012-02-05 20:26 -0800 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.maple
Using Units "Thomas D. Dean" <tomdean@speakeasy.org> - 2012-02-04 22:28 -0800
Re: Using Units Joe Riel <joer@san.rr.com> - 2012-02-04 22:40 -0800
Re: Using Units acer <maple@rogers.com> - 2012-02-05 20:26 -0800
| From | "Thomas D. Dean" <tomdean@speakeasy.org> |
|---|---|
| Date | 2012-02-04 22:28 -0800 |
| Subject | Using Units |
| Message-ID | <5pmdnYFF8s7jvLPSnZ2dnUVZ_qqdnZ2d@megapath.net> |
I am stumbling through using units in Maple 15. I want to express a quantity as 30fT == 30femtotesla == 30*10^(-15)T I can do 30*10^(-15)T and manipulate it. How do I use prefixes like femto- (f)? Tom Dean
[toc] | [next] | [standalone]
| From | Joe Riel <joer@san.rr.com> |
|---|---|
| Date | 2012-02-04 22:40 -0800 |
| Message-ID | <87y5shye90.fsf@san.rr.com> |
| In reply to | #347 |
"Thomas D. Dean" <tomdean@speakeasy.org> writes: > I am stumbling through using units in Maple 15. > > I want to express a quantity as 30fT == 30femtotesla == 30*10^(-15)T > > I can do 30*10^(-15)T and manipulate it. > > How do I use prefixes like femto- (f)? 30*Unit(fT); -- Joe Riel
[toc] | [prev] | [next] | [standalone]
| From | acer <maple@rogers.com> |
|---|---|
| Date | 2012-02-05 20:26 -0800 |
| Message-ID | <13861034.2831.1328502372853.JavaMail.geo-discussion-forums@vbhz6> |
| In reply to | #347 |
As Joe mentions, you can type in calls to the Unit() constructor. That accepts full wordings, as well as abbreviations and SI prefixes.
Another entry mechanism, which can give you the nice 2D Math typeset for for both your input as well as your output, are the two (SI, and FPS) unit palettes. Both of those two (Standard GUI, left panel) palettes have a top-peft entry which looks like [[unit]]. When you select that entry with the mouse-cursor, the GUI inserts a placeholder at the current position in the worksheet. That input now shows the 2D Math brackets also used for representing units in output. You can type whichever valid unit value you wish inside those double-brackets.
Yet another entry mechanism for obtaining the prettyprinted [[..]] form of units within 2D Math input is command-completion. For example, on MS-Windows, typing in the letters Uni and then simultaneously the keys <Ctl>-<spacebar> will result in popup menu. The third item on that menu is the typeset holder for entering units (and which works just like the described palette entry).
You can also invoke the Unit contructor (typed in, or via the palette) with an arithmetic compound expression involving unit names, eg. 4*meter+5*inch. The result will be automatically combined and output using the base units of the current system (default: SI).
You can see the spellings, abbreviations, and prefix which Maple accepts for the 'tesla' unit by issuing the command
Units:-GetUnit(T);
You can see which SI prefixes Maple understands for use with units on the help-page
units,prefixes
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.maple
csiph-web