Solving System of Equations Within a Program Block
Hi all,
I am fairly new to Mathcad, and am attempting to solving a 2-D system of equations within a program block as shown below. The section of code that I am attempting to use to solve my SOE begins with
'Given'
and ends with
'vvec <-- Find(V11val,V21val)'
and unfortunately this isn't working. 'vvec' is currently highlighted in red and when I hover my mouse over it, a message is displayed saying 'This variable is undefined'.

If I use these same 4 lines of code in a regular math block rather than in a program block, they work just fine.
I'm wondering: it is necessary to use a different format when solving an SOE within a program block?
Thanks for any help!

