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 the Community Ranking System, a fun gamification element of the PTC Community. X

Mathcad 15, using the function "Find" in a for-loop

jvandenbrink
5-Regular Member

Mathcad 15, using the function "Find" in a for-loop

Hello all,

 

I want to solve an equation of one variable in combination with a for-loop.

 

In the appendix I added an example of this problem.

How can I solve this?

 

Thanks in advance!

ACCEPTED SOLUTION

Accepted Solutions

The question is already four months old, but if there is still interest, find attached a way which uses your example and also a way to use the symbolic solve command instead of the numeric solve block.

B1.png

B2.png

MC15 worksheet attached

View solution in original post

4 REPLIES 4

LucMeekes
23-Emerald III
(To:jvandenbrink)

The function Find() can ONLY be used in a solve block.

Read the (online) manual (Mathcad help) from the menu.

 

Success!
Luc

If you set up your Given/Find block as  function--Ans(x):=Find(y), then below the solve block Ans(X) = will run the solve block for that value (X) and return that solution (Y).  This function can now be embedded in a for loop to return a series of solutions.

The question is already four months old, but if there is still interest, find attached a way which uses your example and also a way to use the symbolic solve command instead of the numeric solve block.

B1.png

B2.png

MC15 worksheet attached

Announcements

Top Tags