cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

units are not compatible

YA_10963798
8-Gravel

units are not compatible

YA_10963798_0-1713774976809.png

I truely don't know why this error keeps happening?!

1 ACCEPTED SOLUTION

Accepted Solutions

You square M.i, so you have to square the unit, you divide by, as well:

Werner_E_0-1713779829153.png

 

View solution in original post

3 REPLIES 3

You square M.i, so you have to square the unit, you divide by, as well:

Werner_E_0-1713779829153.png

 

Thank youuuuuuuuu

On second thought ... you don't need to divide by the units at all! Why are you doing so?

The formula you use seems to be unit-aware anyway (not a empirical formula).

 

It also looks to me that the result shown above is wrong because the variables involved are vectors. So the result of the second summand in the root is calculated as a vector dot product. I guess this is not what you intend!

To avoid this you always should apply vectorization if you are working with vectors but don't want operations like a product don't be seen as vector product but rather apply it singly to each vector element.

Werner_E_0-1713781651042.png

You can clearly see that the results are different now!

 

Top Tags