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

learn more… | top users | synonyms (2)

1
vote
1answer
129 views

Plotting Earth's position with units

I'm trying to plot the Earth position with the Sun in the origin. I have two lists like this: ...
4
votes
1answer
67 views

Atom weight in SI units

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

How to set UnitSystem permanently

I would like to set the system of units ($UnitSystem) permanently to "Metric". I know that I can do ...
1
vote
2answers
69 views

Simplifying expressions containing unit of zero magnitude

I have obtained the following form as a part of a computation: k (Quantity[0, "Kilohertz"]) + Quantity[1/500, "Kilohertz"] This is typeset as Here, ...
12
votes
1answer
172 views

Is Quantity necessary?

Soft question: are Quantity - and newly added MixedUnit and MixedMagnitude - needed in a ...
11
votes
1answer
218 views

How can I get curated data to be expressed consistently in SI units?

AstronomicalData objects are consistently in SI units: ...
0
votes
0answers
22 views

Set default unit for information rate and others

I am using mathematica to convert units to canonical form, like I have 0.2 KBYTE/s and I want to get 200. So I want to see all '...
13
votes
2answers
637 views

Automatically add appropriate prefix to Quantity

Is there a function that automatically adds the appropriate prefix to a Quantity object? For example, I would like a function ...
8
votes
0answers
399 views

Units: Custom-defined units possible? [closed]

Converting between revolutions per minute (RPM) and revolutions per second (RPS) is not straightforward for me in Mathematica. I know that $1\; \text{RPM} = \frac{2\; \times\; \Pi\; \text{Radian}}{\...
1
vote
1answer
134 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 ...
3
votes
0answers
58 views

Custom units Compatible with Conversions [closed]

I am writing a Mathematica Palette to work with units, and am wondering if anyone knows a way to define new units outside of the standard ones that come with Mathematica 9. I do know of the ...
6
votes
0answers
85 views

Spectral Radiance unit Flicks is not correct

I was pleasantly supersized that Mathematica (10.3, 10.4 and 10.4.1) had the unit $\text{flick}$ until I spent several hours trying to figure out why all my calculations were million times off! I ...
0
votes
0answers
23 views

Evaluating UnitConvert inside LogPlot

I imported several Physical Quantities with their units and doing single calculations with them works fine and return the right unit, which I can change by UnitConvert[]... For the LogPlot I made a ...
4
votes
2answers
86 views

How to override DisplayForm of (mixed) time Quantity

What's the best approach to overriding DisplayForm for specific types of Quantity eg time especially w/ mixed units? Current is ...
5
votes
3answers
253 views

Is there a build-in function converting a quantity to one with mixed units (such as feet and inches)?

For example, I want to convert 179 centimeters into 5 feet and 10.4724 inches instead of 70.4724 inches (as this website did). Maybe in the future I would need to convert days to {years, months, days} ...
7
votes
2answers
115 views

How to prevent $\text{Quantity}$ calculations from converting units

I have an accrual calculation that I would like to preserve the units even though they are of the same dimension (e.g. time). For example, I would like the following ...
4
votes
0answers
73 views

Inequality involving Quantity stays unevaluated

Bug introduced in V10.1 and presisting through V10.4 An expression like this one a < x < b is represented as ...
6
votes
1answer
100 views

DateListPlot failing on Inflation Adjusted TimeSeries

Ran across this (possible bug) today. Here's historical West Texas Intermediate oil prices: ...
3
votes
0answers
104 views

How to insert a formula to FormulaData?

Unit Checking Demo In order to throw a unit error,we run the code ...
3
votes
0answers
47 views

TimeSeriesInsert issue with Quantity expressions

Solved in Mathematica v10.3 This first sample code works as expected: ...
2
votes
1answer
46 views

Get Isotope Data and Electron Mass in Same Units - kg and Kilograms

I'm trying to find the nuclear mass of $^{238}\text{U}$. To do this, I subtract the electron mass from the atomic mass. I'd like to find the final answer in kilograms. I'd also like to use Mathematica'...
1
vote
1answer
48 views

How to correctly use FormulaData

I am exploring some of the functions involving units and formulas, and wondered how to input quantities if the variable has a subscript. This works ...
7
votes
1answer
74 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, ...
2
votes
1answer
178 views

Why do I get QuantityUnits`Private`ToQuantity 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 ...
4
votes
2answers
131 views

What's wrong in “Watt”/(“Centimeters”)^2 [closed]

Why Mathematica returns the following input unevaluated? ...
3
votes
0answers
163 views

Physical constants seems broken in 10.3

For example, if I just enter Quantity["GravitationalConstant"], then the result is this ...
5
votes
1answer
87 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 ...
5
votes
2answers
143 views

Can I convert a list of units to a different base set?

I have a list of quantities with varying units (a short example list is shown below): ...
3
votes
2answers
125 views

AutomaticUnits in WM10

Despite the unit improvement in WM10, I am still a big fan of the AutomaticUnits package, as I find it faster and more elegant to work with. However, it seems to be ...
1
vote
0answers
72 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 ...
3
votes
1answer
93 views

Mathematica 10.1 doesn't recognize “Events” unit

Today's Wolfram blog post inspired me to play with the TemporalData and MovingMap features, and in the process of doing so, I ...
0
votes
1answer
68 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? ...
29
votes
2answers
1k views

Built-in unit strings recognized by Quantity?

It’s great that Quantity can utilize Wolfram Alpha to interpret unit strings that it doesn’t recognize, but I need my code to work on machines that do not have ...
0
votes
0answers
31 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, ...
4
votes
2answers
174 views

Display Quantity in full form

Is there a way to display Quantity[] in full form in the output? I know you could use Quantity[valuse, Unit]//InputForm, but ...
1
vote
2answers
99 views
4
votes
1answer
146 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 ...
13
votes
2answers
2k views

Numerical value of physical constants Mathematica 10

Is there a way to use the physical constants in calculations and have Mathematica 10 figure out the final unit and numerical magnitude? When I try ...
5
votes
0answers
58 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. ...
2
votes
0answers
52 views

How would one make units work with a variable of unknown magnitude?

So, right now, I am working on setting various quantities up as functions of R. R will be varying later on, so right now I just have it set to the variable radius. It's breaking my dimensional ...
3
votes
0answers
47 views

Unit of output changes when constant quantity is moved over integral

Why do these two expressions give the same result in different units? In: Integrate[ gravitationalAcceleration Quantity[1, "g/m^3"] fluidArea h, {h, 0, height}] ...
11
votes
1answer
179 views

Why is this evaluation halved when adding units?

Why does this strange behavior occur when dealing with units and quantities? ...
6
votes
2answers
228 views

Is it reasonable to have both TemperatureUnit and TemperatureDifferenceUnit?

When adding the bugs header to the question "Kelvin per Kelvin Difference" I was confused by the fact that I cannot determine for sure whether the described bug is fixed in version 10.2 or not: from ...
18
votes
3answers
699 views

Kelvin per Kelvin Difference

Bug introduced in 9 and partially persists through 10.2 or later The specific bug described in the original question is fixed ("Kelvin" is correctly recognized as <...
13
votes
1answer
283 views

Possible bug: Quantity[2,“meters”] returns 2 None meters

Bug introduced in version 10 or earlier and fixed in version 10.0.2 I'm using 10.0 for Linux. Trial 1: Quantity[2,"meters"] 2 None meters Trial 2: ...
0
votes
1answer
51 views

Enter meter unit with Histogram [closed]

I'm looking at the documentation for Histogram and I am trying the example: ...
0
votes
2answers
167 views

Converting the units of an equation or expression (how to become 3 times heavier…)

(THIS QUESTION HAD A MAJOR SIMPLIFICATION EDIT) Lets suppose I want to convert the falling body equation, from one set of units to another. I start with: ...
1
vote
3answers
162 views

Inconsistent units? [closed]

I have reviewed this statement until my eyes hurt; can someone tell me why the units output aren't lb/ft^2? ...