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

CAN I SOLVE MULTIPLES in SOLV E BLOCK

ppal
16-Pearl

CAN I SOLVE MULTIPLES in SOLV E BLOCK

Hi

Can I solve for multiple inputs?

ppal_0-1640903407635.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
JeffH1
13-Aquamarine
(To:ppal)

No, but you can turn the Solve Block in to a function of a parameter and call it many times.

JeffH1_0-1640916659475.png

 

 

View solution in original post

2 REPLIES 2
JeffH1
13-Aquamarine
(To:ppal)

No, but you can turn the Solve Block in to a function of a parameter and call it many times.

JeffH1_0-1640916659475.png

 

 

Werner_E
24-Ruby IV
(To:ppal)

Personally I prefer setting up calculations to be done with single scalar values, turning them into functions of the input values and then calling those function (vectorized) with the desired input vectors.

This is similar to what Jeff already had shown but without using any range variable N:

Werner_E_0-1640920850859.png

BUT ... if you really want to solve a vector equation in a solve block, you also can do that. Simply provide an appropriate guess vector (and please don't use range variables 😉

Werner_E_1-1640920961370.png

 

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."