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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

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?

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:jvandenbrink)

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.

MC15 worksheet attached

4 REPLIES 4
24-Ruby II
(To:jvandenbrink)
23-Emerald III
(To:jvandenbrink)

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

Success!
Luc

23-Emerald I
(To:jvandenbrink)

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.

24-Ruby V
(To:jvandenbrink)

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.

MC15 worksheet attached

Announcements
Top Tags