Numerical Calculations with Units
The Wolfram Language's unit system utilizes various numerical methods, facilitating calculations using Quantity expressions within the Wolfram Language's numerical functions.
numerical approximation of the specified quantity
search for a numerical solution to an equation, starting with
search for a maximum of f, starting with
Numerical functions that operate on Quantity expressions.
N[quantity] gives you a numerical approximation of quantity:
For numerical functions like FindRoot and FindMaximum, if a variable is specified within a Quantity expression, then that variable is assumed to be a dimensionless value (representing the magnitude of its Quantity). If no unit is specifically associated with a variable, these functions will attempt to automatically determine the units associated with the variable, based on the expression and any specified start values.
Specifying x within a Quantity indicates that x is a dimensionless value: