Tagged Questions

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

1answer
47 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 ...
1answer
51 views

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 ...
2answers
47 views

...
0answers
60 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 ...
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 ...
0answers
24 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 ...
2answers
88 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 ...
3answers
257 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} ...
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 ...
0answers
74 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 ...
1answer
102 views

DateListPlot failing on Inflation Adjusted TimeSeries

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

How to insert a formula to FormulaData?

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

TimeSeriesInsert issue with Quantity expressions

Solved in Mathematica v10.3 This first sample code works as expected: ...
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'...
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 ...
1answer
75 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, ...
1answer
187 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 ...
2answers
132 views

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

Why Mathematica returns the following input unevaluated? ...
0answers
169 views

Physical constants seems broken in 10.3

For example, if I just enter Quantity["GravitationalConstant"], then the result is this ...
1answer
89 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 ...
2answers
144 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): ...
2answers
127 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 ...
0answers
76 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 ...
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 ...
1answer
70 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? ...
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 ...
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, ...
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 ...
2answers
99 views

Converting Units in formula

I have the following formula ...
1answer
147 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 ...
2answers
3k 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 ...
0answers
59 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. ...
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 ...
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}] ...
1answer
85 views

Control units of time series data for plot axis labeling [closed]

Using Mathmatica time series data: ...
1answer
180 views

Why is this evaluation halved when adding units?

Why does this strange behavior occur when dealing with units and quantities? ...
2answers
230 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 ...
3answers
703 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 <...
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: ...
1answer
51 views

Enter meter unit with Histogram [closed]

I'm looking at the documentation for Histogram and I am trying the example: ...