!!!!!!!!!!!!!!!!!!!!!!!!!!!
Shame on me, praise for PTC!
Forget (most) of what I had written above.
polyroots() is fully unit aware and works intuitiv as expected - you just have to take care and use the correct units all over. And as Prime has dynamic unit checking you also have to supply the correct unit for a zero value.
That was the failure in your sheet. In your first attempt you supplied no unit at all and in your second the wrong unit. The correct unit for the coefficient of the linear element is length. If you supply km (or m, it doesn't matter) you get the correct result.
Even the eror message makes sense (though it wasn't helpful in your case). Mathcad can't tell the desired unit of the resulting variable unless you provide units for the first two elements of the vector. You can provide ANY units for those first two values, but the third (and all following for polynomial of higher order) have to be consistent. So you will never get an error that element 0 or element 1 should have a different dimension.

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

