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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Given Find setup with terms

Narlin
1-Newbie

Given Find setup with terms

How do I set up a Given Find that uses terms defined either above, or in the given find itself. Hopefully the attached file will be explanatory.

narlin
3 REPLIES 3
Narlin
1-Newbie
(To:Narlin)

One way is to use function notation. t1(A) t2(B). Is there another way?

On 2/18/2009 5:28:15 PM, Narlin wrote:
>How do I set up a Given Find
>that uses terms defined either
>above, or in the given find
>itself. Hopefully the attached
>file will be explanatory.
>
>narlin
_______________________________

Given/Find solves sets of equalities. Mathcad decided that between the declared "Given" (opening the block) and the (closing of the block) the result "Find" or otherwise assigned as function, there will be NO other math region :=

There are plenty of qs examples and these kind of blocks arrive about every day in the collab. The equality is a definition, yes but unique to solvers in general. Given/Find is exclusive... maybe not in your version.

jmG

You have the answer. The only way to write functional dependencies in Mathcad (for the numeric processor) is to use function notation. Expressions are evaluated with the values current at the point of evaluation.

Note that a solve block creates bound variables for the unknowns, so these can vary during the evaluation of the solve block and are no longer tied to the guess values.

Also note that you cannot have any definitions in a solve block. With MC12+ you can physically place definitions between the given and the closing function for a solve block, but these are still not logically a part of the solve block. Only the constraints, using the compare predicates (=, <, ≤, >, ≥), become a part of the solve block.
__________________
� � � � Tom Gutman
Top Tags