# Questions tagged [units]

Questions about using, converting, or interpreting units of measurement in Mathematica.

309 questions
Filter by
Sorted by
Tagged with
265 views

### Solving Equations with units is not working

I have the code Clear[distance, time, Vavg]; Solve[Quantity[Vavg, "Meters"/"Seconds"] == Quantity[distance, "Meters"]/Quantity[time, "Seconds"], distance] ...
• 383
8k views

How can I convert a radian angle to a degree one and add ° after it? I am using N[(Pi/4)/Degree], but the output is 45. with ...
• 545
1 vote
95 views

### How to get a conversion factor in new system of unit

There is some numerical relation $I = \frac{c}{8\pi} E^2$ between the wave intensity $I$ and the electric field strength $E$ written in CGS (centimetre, gram, second) system of units, where $c$ is ...
74 views

### Why does the TimeObject seem to lose precision? (+ note on units)

According to the documentation (11.0.1.0) Shorter lists can be used in TimeObject[{h,m,s}], which represents the time to whatever accuracy is specified: {h} is not [sic?*] treated as being ...
• 2,560
1 vote
52 views

### Why isn't this fully evaluating [closed]

I'm still new to mathematica which sometimes feels magical to me. For example, ...
• 111
816 views

### How do I generate a list of just the physical constants? [And other questions on them.]

N.B.: I've bolded the questions to make it easy to find them among the background verbiage. 1) Is there a way to generate a list of just the physical constants? [Note that I am not looking for a ...
• 3,643
1 vote
106 views

### Unit conversion in a function using another function as an argument

My problem is related to the previous post Passing a function as an argument to another function using the same variables. I don't understand why in the following example the conversion of units does ...
• 111
155 views

### What are the UnitConvert units for ItemSize and FieldSize?

I have discovered the unit for ImageSize is "DesktopPublishingPoints" as setting ...
• 43.1k
209 views

### Mathematica does not fully simplify units [duplicate]

I use the Quantity function in Mathematica to simplify and check units. Sometimes I cannot get Mathematica to simplify units. What I am doing wrong? For example, find units of thermal diffusivity: <...
• 437
284 views

### Working with tables of equations in different units

I frequently work with tables of engineering equations in different units. I suppose physicists might do the same thing. For example, a table might look like this: Some of the values are inputs and ...
• 4,102
177 views

### How can I obtain a list of the physical quantities supported? [duplicate]

How can we list all available physical quantities in Mathematica?
362 views

### Bug recognizing "Wavenumbers" as a unit of energy?

Wavenumbers, aka inverse centimeters, has dimensions of energy and thus should be easily convertible to joules. MMA clearly recognizes "Wavenumbers" at some level, since it autosuggests this unit when ...
• 3,643
138 views

### Display bug in Dataset's UnitConvert handling

Bug introduced in 11.0.1 or earlier and fixed in 11.1.0 Is this yet another annoying regression in v11 Dataset type handling? The display form seems to be a ...
• 15.2k
1k views

### Physical (and other) constants

As Mathematica documentation likes to say, "As of Version 9.0, physical constant functionality is built into the Wolfram Language". After clicking on the ">>", one ...
• 4,006
80 views

### Radians missing from NSolve result

Why does the result not include radians in the solution for a? This does not occur if I use meters instead of radians. ...
• 141
239 views

### Plotting with units: emits error and gives incorrect plot

I've been trying to find some information on how to use Plot with a quantity that has units. I have a function, h[x_], that ...
• 143
70 views

### QuantityForm does not work with MixedRadixQuantity?

Bug introduced after 9.0 and in 10.1 or earlier, and persisting through 11.2 or later From 10.1 to 10.3.1, QuantityForm[q, "Abbreviation"] outputs From 10.4 to 11....
• 43.1k
518 views

### Working with degrees minutes and seconds without conversion

Is there a way to work with angles in DMS without converting them to decimal degrees, that is to sum them, subtract them? I do not know how to even enter it without using string. My idea is something ...
• 4,006
83 views

### Problem with specifying quantity value in FormulaData

I wanted to use the formulas for KineticEnergy and KineticEnergyRelativistic with specific quantity vaules. The later formula ...
• 1,332
4k views

### Unit Discovery: Is this some sort of a sick joke?

Alright, let's have some fun here. I am essentially following the documentation by Wolfram, just looking at different quantities. ...
• 4,159
1 vote
234 views

...
• 97
202 views

### AutomaticUnits package in Mma 11

I have really come to like this package, and, no, the built-in units handling in newer versions of Mma isn't a match for it by a long, long stretch. With some minor editing following the author's ...
• 4,159
1 vote
1k views

### How to convert output time in terms of seconds to minute with UnitConvert[]? [duplicate]

I have this code: AbsoluteTiming[g[x_, t_] := Sin[x]^90*(1 + t^2); Integrate[g[x, \[Tau]], {\[Tau], 0, t}]] with this output: I want to have convert unit to ...
• 185
79 views

### How to get Quantity to collect like terms?

In Mathematica numerical terms collect when their variables are equal. .2 "SERC" + .7 "SERC" (* 0.9 "SERC" *) However, numerical ...
• 43.1k
484 views

### Atom weight in SI units

In chemistry is very common to use the units grams/mol for the atomic weight, so the mass of one atom (of Tin, for example) is calculated as : massOfOneAtom = (0.11871 (Kg/mol))/(AvogadroConstant (1/...
364 views

• 173
162 views

### Why does the front-end no longer like MixedRadix as an argument for UnitConvert?

I often find MixedRadix very useful for make certain kinds of unit conversions. For example, ...
• 108k
241 views

### DateListPlot failing on Inflation Adjusted TimeSeries

Bug introduced in 10.0 or earlier and solved in 10.4 Bug introduced in 10.0 or earlier and persisting through 11.0.1 or later First bug. See output of ...
• 11k
1k views

### Why do I get QuantityUnitsPrivateToQuantity when trying to use units?

I'm unable to use units in mathematica (10.3.1) When I do Quantity[500, "Feet"] + Quantity[50, "Meters"] the answer I get is ...
• 435
432 views

### What's wrong in "Watt"/("Centimeters")^2 [closed]

Why Mathematica returns the following input unevaluated? ...
284 views

### Physical constants seems broken in 10.3

For example, if I just enter Quantity["GravitationalConstant"], then the result is this ...
• 7,931
443 views

### Differential Equations and Unit Notation

What do I get the Syntax::sntxi: Incomplete expression; more input is needed . error when I try to use the math palette for derivatives? What does the dot in ...
• 121
587 views

### Plotting with units — getting the right axes labels

I have a simple example: Plot[UnitConvert[Quantity[x, "DegreesCelsius"], "DegreesFahrenheit"], {x, -25, 300}, AxesLabel -> Automatic] The x-axis has the ...
• 4,006
1 vote
641 views

### Convert large KML coordinate datasets to UTM [closed]

I was wondering if there are ways to convert massive amounts of KML coordinates into UTM coordinates using Mathematica. Other programs would also be acceptable. Thanks. I have the KML file from ...
146 views

### Electromagnetism units conversion in Mathematica 10 (possible bug)

Is this a bug in Mathematica 10? Why can't I convert Amps/m to Gauss? ...
48 views

### A complete list of quantities in Mathematica 9/10? [duplicate]

Often times when I'm traveling I don't have internet access and cannot reliably use Wolfram Alpha for unit look-up. Additionally, Alpha can always choose to change how it interprets the units I enter, ...
• 6,167
1 vote
193 views

### Converting Units in formula

I have the following formula ...
• 3,268
158 views

### Calculating consumed internet data from bitmap of chart

My internet connection has a speed drawn up by the y axes has a scale as KB per second. and the x axes is time elapsed. if the x axes be from 0 to 40 minutes how can I calculate total consumed bytes ...
• 4,897
149 views

### Calculations with "Quantities" Run Slow. What am I doing wrong?

This code plots a 1000 point black body radiation curve in 0.7 seconds. ...
• 61