I am running the same function in Prime and Mathcad but get different results. See attached
No, you are not running any functions at all!
All I see is a misuse of ranges.
You may have noted that the results of your "calculations" is NOT a vector and that you can't assign it to a variable and use it for later calculations.
A range is sort of an implicit loop and the order those loops for i and j are executed obviously has changed in Prime. But the results are the same anyway, of course.
If you use those ranges in a correct way, you get the very same results in Prime and in real Mathcad:
Thank you for the prompt response. Also thank you for the reminder that these are called range variables. Attached is my final work sheet with the final formula creating a vector based on the two rang variables. Please note that the range variables are used correctly. Also the final formula has the same results in both Prime and Mathcad.
At issue is the intermediate results between Prime and Mathcad. You will notice the use of the range variables is complex to determine the desired final vector values and I would have assumed that Prime and Mathcad would determine the intermediate results, the derivation of formulas for the range variables, similarly. They don't. Prime's results are wrong, or at least not useful in developing the final formula.
Please note I attempted to attach a screen shot but it failed, the error message is there are two many characters. Perhaps there is another way of inserting a screenshot than clipping and pasting.
Can you explain what you determine to be 'intermediate results'
and why you think they are wrong (in Prime)?
Luc
You cannot copy & paste pictures in this forum. You have to save your screenshot (or other picture) in a file (.png gives the sharpest pictures) and insert them with the 'Photos' button just above the edit pad.
Translate
Windchill Satisfaction Survey
Help shape the future of Windchill. Take our 5-minute survey and share your feedback.