Question: Incompatible dimensions

A student exercise: It starts with a defintion D1 := 1.500*Unit('m') and ends (after some calculations) with the following expression:

(0.1250000000e-3*(.6000000000*Unit('m')+.6510936027*(Unit('m'))(.2929921212*Unit('m'))/(Unit('m')*((1/2)*Pi-26.38779995))))*Pi^2*Unit('m')^2*((1/2)*Pi-26.38779995)

I would like to simplify it to get -0.0175 m^3, but I get the following error when I try to simplify the units: Error, (in Units:-Standard:-+) the units `m` and `1/m` have incompatible dimensions.

This makes no sense! All calculations are based on the initial definition of D1, which is the only input unit.

 

Why do I get this error?

Please Wait...