Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

Iterate using

TM_14520523
3-Newcomer

Iterate using

I am using Mathcad Prime Release 9.0 and Datecode9.0.0.0

Hi, I have a question on: how to use a "solve" function inside a for loop or how to use it for solving variables from arrays or using the solve function inside a solve block? In the solve block, I can use Find or root functions but these methods don't give sometimes the exact solution to the equation on hand. And "solve" works the best for my case. Thank you for your help
ACCEPTED SOLUTION

Accepted Solutions

Hi

Here is one way using the root() function.

Have assumed two vectors not defined in the image are all ones.

Cheers

Terry

View solution in original post

3 REPLIES 3

Screenshot 2026-03-05 092407.png

 Here is a screenshot of where I am using the solve function one at a time to get tsat values from 0 through 7. But can this be automated using a for loop or solve block, but by using the "solve" function?

Hi,

To save us a lot of typing can you upload the worksheet.  You may need to put the file into a zip archive to upload.

 

CTR_TAP is not defined in the image.

X_R_3P is not defined in the image

In first equation should TP index 0 be used?

 

Cheers

Terry

Hi

Here is one way using the root() function.

Have assumed two vectors not defined in the image are all ones.

Cheers

Terry

Announcements

Top Tags