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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Invalid variable definition?

XM_10281444
2-Explorer

Invalid variable definition?

Why do I use the find function to solve the value of c and x1, but the value of x1 and c can't be found?1.png

4 REPLIES 4

 Hi,

 

Please upload your Mathcad Prime worksheet.

Werner_E
25-Diamond I
(To:XM_10281444)

You have to assign the result of the "find" command to a variable, like solution:=find(c,x1).
Now solution is a 2x1-vector.

Its more convenient to replace "solution" by a 2x1 vector consisting of the variables c and x1.

Note that Prime won't change the values of the variables c and x1 (guess values) unless you assign them new values as suggested above.

Werner_E_0-1650028994671.png

 

For future questions: Please always attach your worksheet!

LucMeekes
23-Emerald III
(To:XM_10281444)

Actually there are three possible solutions to this problem:

LucMeekes_1-1650041664917.png

 

The one you've found with the given guess values is the middle set.

 

Success!
Luc

MK_10207576
5-Regular Member
(To:LucMeekes)


@LucMeekes wrote: ePayitonline Login

Actually there are three possible solutions to this problem:

LucMeekes_1-1650041664917.png

 

The one you've found with the given guess values is the middle set.

 

Success!
Luc


I faced similar kind of issue last time, I am still searching for some proper solution.

Announcements

Top Tags