Question: Variable with Unit to power (e.g. 2) without altering Unit.

Im attempting some very basic calculations where numbers are stored in variables with correct units. However i wish to take a variable to the power 2 without altering it's unit. This is a really easy but strange calculation to make which is why i guess Maple is having trouble with it. 

e.g. I have a variable A with a number 4 stored inside with unit in Meters. I want to take A2 = 16 meters and and not A2 = 16 meters2

Is there a function or way to select the base number without having to write an entire line about it? 

convert(A,'unit_free')^(2)*Unit('m')

can do the trick but i believe there has to be an easier, less complicated, way to achieve this? 

Please Wait...