Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I have a task to make the code in the left as written in the right but I have an error as attached appreciate if anyone can help.
Solved! Go to Solution.
Look carefully at the error message that Prime gives: "This value must be an integer"
Pw is a vector. You are using j to index into that vector, that means you are trying to point to one element of that vector. Then j must be an integer, a whole number, in the range 0, 1, 2, ...., and it cannot have units.
Now look at how you defined j: it runs from Pp ( a few million Pascals) to sigma (I don't even want to know what that is.)
If you have to recreate the Mathcad file into Prime, be careful about what you change...
Success!
Luc
Only change j to integer.