Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Mathcad 15, using the function "Find" in a for-loo...

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

04-11-2019
09:38 AM

04-11-2019
09:38 AM

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!

Labels:

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-19-2019
09:47 AM

08-19-2019
09:47 AM

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

Mathcad forum is here: https://community.ptc.com/t5/PTC-Mathcad/bd-p/PTCMathcad

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-19-2019
01:11 PM

08-19-2019
01:11 PM

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

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

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

Success!

Luc

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-19-2019
02:43 PM

08-19-2019
02:43 PM

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

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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-19-2019
03:22 PM

08-19-2019
03:22 PM

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

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

Top Tags