# Question:How to expand Unit expressions of combined units (compound units) to a product of Unit expressions?

## Question:How to expand Unit expressions of combined units (compound units) to a product of Unit expressions?

Maple

Example: Exanding the left hand side below to the right hand side

`Unit('kg'*'m'/'s'^2) = Unit('kg')*Unit('m')/Unit('s')^2;`

Such functionality would be useful for manipulating rational functions whose coefficients have units that can otherwise only be simplified by substituting new dimensionless independent variables as dicussed here.

Is there statement that can be mapped over an expression that identifies all subsexpressions with units and expands them to a products of units?

Probably not possible but also desireable: A variant that expands derived physical quantities to a product of base units as for example Newton to base units: Unit('N') = Unit('kg')*Unit('m')/Unit('s')^2;

`Unit('N') = Unit('kg')*Unit('m')/Unit('s')^2;`

Edit: Example from the link above on Unit expressions with compound units

Example that cannot be simplified

 (1)

 (2)

After expansion of Unit expression (here done by hand) simplifcationis possible with other Maple commands

 (3)

 (4)

 (5)

Normalization to a dimensionless equation expression (that still has units) by a scaling factor with units

 (6)

 (7)

Rewriting the left hand side

 (8)

 (9)

 (10)

Magnitude plot

 (11)

 (12)

 (13)

﻿