Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I used the same inputs in mathcad and excel considering the units , however I get different results in mathcad for Mi and f2 . Do you have any clue ?
Without the Excel AND the Prime sheet nothing substantial could be said about the two pictures you posted.
Prime can deal with units, Excel can't. So unless you used a wrong formula in Prime I would rather trust Prime's results.
I did attached them
wait I will do it again
Sorry, too complicated for me! I get lost with all those elaborated variable names and nested calculations. And an Excel sheet is a horror either way when it comes to understanding the calculations it contains.
Would take me much too much time to dig into all those calcs - especially since I'm not a specialist in the field this sheet is all about.
Maybe someone else can help.
Yeah you are totally right .
If you just tell me in general why I would get different results in excel and mathcad , I will figure it out myself
in mathcad sheet the calculation of Mi is on page 9
in excel the function is
all inputs are the same in both of sheets , still getting different results
As explained below I guess that the problem is the missing vectorization of expressions which use vectors.
You find it in on the Math ribbon in the "Operators" menu or you may use the appropriate keyboard shortcut (which depends on the language of your keyboard).
One thing which I noticed when I took a look into the Prime sheet.
Your calculation of Mi involves the multiplication of three vectors - alpha.t, q.blabla and z.
The mutliplication of the first two vectors is done as vector multiplication - that is scalar multiplication and the result is a scalar. Guess this is not what you intended. If you want the elements of the vectors to be multiplied one by one and a vector as result. you must apply vectorization!
Here is a simple example showing the difference:
Chances are that other calculations in your sheet may need vectorization as well.