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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Solve Block in Program

BillWalsh
1-Newbie

Solve Block in Program

Is it possible to include a solve block as part of a program?
6 REPLIES 6
PhilipOakley
5-Regular Member
(To:BillWalsh)

Yes and No. Or is that No and Yes.

You can set up a solve block to have a functional
form where you pass parameters and it returns solved
results (examples in the help)

You then use that function in the program.

So, as a precise answer, you can't have a solve
block in a program. It is two (obvious) (in
retrospect) steps. Actually, making it two steps
usually makes it easier to debug and maintain.

Philip Oakley

Thanks Phil,

I'll give it a try

Bill Walsh

On 7/19/2009 4:34:30 AM, BillWalsh wrote:
>Is it possible to include a
>solve block as part of a
>program?
__________________________

Mathcad 11.2a

YES, you pass root as is and pass Given/Find as a function
... Odesolve, all math matrix ...
You can't pass Maximize/Minimize, Minerr.
You can pass linfit and maybe few more.
For Minerr, we use an indexed iterative loop.

jmG





Thanks,

I'll give it a try.

Bill

On 7/19/2009 10:56:04 PM, BillWalsh wrote:
>Thanks, I'll give it a try.
>
>Bill.
____________________

The best will be the work sheet itself.
If you "Save as" version 11 or lower,
a very large audience will collaborate.

jmG



Top Tags