Skip to main content

Questions tagged [units]

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

0 votes
1 answer
47 views

Integrate & Unit: unable to determine the units of quantities

In a Wolfram Notebook, I declare a function F1[x]=1/x where x is in "Meters" F1[X_] = With[{x=Quantity[X,"Meters"]},1/x] I integrate F1. ...
Joseph Marie's user avatar
0 votes
1 answer
67 views

Clear Guidelines for Symbolic Calculation With Units?

The following notebook performs a relatively simple physical calculation interacting position, velocity and acceleration of two charged point particles according to Weber electrodynamics.It is simple ...
James Bowery's user avatar
8 votes
3 answers
496 views

How to "factor out" units?

I have a huge expression that makes use of Mathematica's units support (Quantity[]) that I know evaluates to a dimensionless quantity. However, I'm unable to get <...
小太郎's user avatar
  • 223
5 votes
1 answer
68 views

QuantityArray vs Array of Quantities

If memory and speed are not concerns, is there a reason to use QuantityArray instead of an array of quantities?
Cassini's user avatar
  • 5,606
1 vote
3 answers
390 views

How to handle units of measurement?

I'm trying to understand how Mathematica handles units of measurement. That is I expect that a calculation should return a certain unit, but I don't succeed. Let's consider this example: ...
Teodoro Marinucci's user avatar
5 votes
3 answers
232 views

How to find all InformationUnits by code method?

As I know, the "Megabytes" and "Gigabits" both are ...
yode's user avatar
  • 26.9k
4 votes
3 answers
145 views

Cases syntax when expression sought is a Quantity

From the following list I wish to extract those cases for which the magnitude of a quantity is greater than zero for which I would like to then create a DateListPlot. ...
Stuart Poss's user avatar
  • 1,893
2 votes
1 answer
59 views

Create by hand a formatted form of quantities

If I evaluate the following cell: Quantity["PlanckConstant"] I get as an output a very concise format of this quantity: Also, compare the legibility of ...
tush's user avatar
  • 375
0 votes
0 answers
24 views

Why is ExternalEvaluate running the command Quantity[471.04`, "Kilobytes"] on RaspberryPi

Raspberry Pi 4B with 32 bit Raspberry Pi OS Full: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux Mathematica for Raspberry Pi 13.1 The command ...
Rudy Potter's user avatar
  • 2,592
1 vote
0 answers
77 views

How to prohibit automatic DegreesCelsius converting to Kelvins?

On this wiki page, temperature conversion is presented clearly. For example. It also warns that we should take care of temperature difference conversion which is a different conversion as It is ...
matheorem's user avatar
  • 17.2k
0 votes
0 answers
40 views

quantity of `Around` with "DimensionlessUnit"

Quantity[1, "DimensionlessUnit"] gives pure number 1 However, ...
matheorem's user avatar
  • 17.2k
4 votes
1 answer
111 views

How can the units of the "AtomCoordinates" in a Molecule be changed while keeping the resulting MoleculePlot3D consistent?

Mathematica provides the Molecule function that can be visualized with MoleculePlot3D since version 12.0. Before, importing "XYZ" files would produce a ...
ZehDeckel's user avatar
2 votes
2 answers
60 views

ToPolarCoordinates not working with units

I am trying to convert some quantities with units from rectangular to polar coordinates (to get the magnitude and angle). It seems that ToPolarCoordinates command does not calculate the angle when ...
user90441's user avatar
  • 129
0 votes
1 answer
85 views

Dealing with exponents that contain units?

Many of the equations I deal with involve powers of quantities which contain units. However, when the exponent contains units (e.g., ...
dalamajama's user avatar
3 votes
2 answers
97 views

Issue with unit conversion

I am getting an error converting energy unit Pa*m^3 (Pascal * Meters^3) to J (Joules). ...
user90441's user avatar
  • 129

15 30 50 per page
1
2 3 4 5
21