Integrals with units
Integrale mit Maßeinheiten
Units of Measurement
Maßeinheiten
Integrals
Integrale
Mathematics
Mathematik
Contents
Inhalt
The function int() can handle integrands with units. The integration variable and the limits are regarded as unit-less.
Integrale können einheitenbehaftete Integranden haben, die Integrationsvariable selbst und deren Grenzen werden aber als dimensionslos betrachtet.
The function q(x) expects the argument to be of dimension length and returns values of dimension force per length.
Die Funktion q(x) erwartet ein Argument der Dimension Länge und liefert Werte der Dimension Kraft pro Länge.
The function is to be integrated over the interval from 1 to 3m.
Die Funktion soll im Bereich von 1 bis 3m integriert werden.
The plot function provides unit-less x values and expects unit-less expression values. Therefore the x is multiplied by m and the result is divided by N/mm
Für die Darstellung muss die Funktion durch die Ergebniseinheit geteilt werden und x mit der erwarteten Einheit des Funktionsarguments multipliziert werden.
Integration with int() fails, because the units of the limits are ignored and the function is called with a unit-less argument instead of a length value.
Die Integration mit int() scheitert, weil die Maßeinheiten der Integrationsgrenzen ignoriert werden und die Integrationsvariable dimensionslos ist.
Option 1: Use Maple Wrapper plugin
Benutzung des Plugins Maple Wrapper
The function maple() can handle units in integrals.
Die Funktion maple() aus dem Plugin MapleWrapper kommt mit Maßeinheiten zurecht.
maple()
Option 2: Transform the integration variable
Transformation auf dimensionslose Integrationsvariable
The integration variable can be made unit-less using the units of the integration limits.
Das Integral kann mit Hilfe der Maßeinheiten der Integrationsgrenzen in dimensionslose Form über- führt werden.
UoM()
This could be a function for unit-proof integration
So könnte eine einheitensichere Integrationsfunktion definiert werden
Here, the variable x# in expression f# is replaced by the product of x# times the unit of the intervall size b#-a#
Hier wird die Variable x# im Ausdruck f# durch das Produkt von x# mal der Maßeinheit der Intervallbreite b#-a# ersetzt.
Units of Measurement
Maßeinheiten
Integrals
Integrale
Mathematics
Mathematik
Contents
Inhalt
M. Kraska, 2013-08-11