Skip to main content
1-Visitor
November 8, 2014
Solved

Finding result by iteration, error given by FIND function

  • November 8, 2014
  • 1 reply
  • 3734 views

Hello,

I have an equation with one uknown on both sides and would like to iterate to get the value of variable, however the find function brings error, I think I am following others recommendations (several youtube presentations) but still no result. I have more equation like this to solve and would really do with advice what I am doing wrong.

I am new to Mathad.

Best answer by Werner_E

my understanding was that by selecting find function from menu is actual solve block selection that actually was very wrong understanding. Habit taught by older book to type and use shortcuts for everything shifted my eyes away from the bar with solve block button.

Yes things have changed since mathcad 15 (unfortunately). As find() can't be used outside a solve block, it would be a good idea if Prime would insert a solve block autimatically when find() is inserted outside of a solve block. but thats not implemented that way. You first have to insert that ugly and clumsy block and then add your guesses, constraints and a solve block function like Find, Minerr, Odesolve, etc.

Getting a suitable guess value is sometimes vital. In your case it was obvious that your system of two equations in two variables is in reality just one euqation in one variable. in this case its often a good idea to plot the function to get a visual impression where a solution is to be expected. Your expression gets complex for values of tx greater than 40, so we had to look at the negative range and zoom far out (Prime does not have a zoom option, so its a tedious job changing the plot limits manually.

I haven't used a solve block in my first attempt to get a solution but had used root(). But of course the solve block with your two variables would yield the very same result given you provide suitable guesses.

1.png

2.png

P.S.: There sure are many good ressource out there dealing with Mathcad 15 (still the much superior version) and below. A lot of things may apply to Prime, too - a lot won't and lead to confusion. So for the first steps it may be a good idea to stíck with the help and other specific Prime ressources.

PTC provides some files here which may be of interest:

http://communities.ptc.com/docs/DOC-3931

http://communities.ptc.com/docs/DOC-3621

1 reply

25-Diamond I
November 8, 2014

In Prime you can't simply type find(), you must insert a solve block.

Patryk1-VisitorAuthor
1-Visitor
November 9, 2014

I have added the solve block by clicking 'find' in Functions->Solving menu, is any other way of doing it? If you put all this effort to aswer and criticise you could as well instruct how to do it correctly.

25-Diamond I
November 9, 2014

Patryk Halczak wrote:

I have added the solve block by clicking 'find' in Functions->Solving menu, is any other way of doing it? If you put all this effort to aswer and criticise you could as well instruct how to do it correctly.

1) I wasn't criticising but just pointing you to your error.

2) When you start Mathcad, the first thing you see is this:

1.png

So it was hard to imagine for me that you can't find a way how to insert a solve block.

3) You had not written that your help is broken or you otherwise are not able to read or understand Prime's help section. It has to be assumed that when somebody asks a question in this user driven forum, that he has already used other ressources available to him - primarily of course the built-in help, where "To define a Solve Block" can very easily be found.

Despite your impudent reply a last tip: Chose another guess value to get a solution. After all your solution is approx. at -3.187*10^5. With guess value 0 the solve block will fail.