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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

units are not compatible

YA_10963798
11-Garnet

units are not compatible

YA_10963798_0-1713774976809.png

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

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:YA_10963798)

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
Werner_E
25-Diamond I
(To:YA_10963798)

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

Werner_E_0-1713779829153.png

 

Thank youuuuuuuuu

Werner_E
25-Diamond I
(To:YA_10963798)

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!

 

Announcements

Top Tags