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
Hello everyone,
I am working with Mathcad Prime 3.1, and I use the solve block.
The problem is with the function find: I want to specify directly (like in Mathcad 15 with the index) the element that should be reported. I don't want to report all the matrix and I don't want neither to use an extra variable to report the specified element of the resultant matrix.
Thanks for your support,
Best regards,
Nadia
Solved! Go to Solution.
Nadia;
The attached file was created in Prime 3.0.
Please open it in Prime 3.1, and post a screen shot of the result.
1st. Can you post the worksheet?
2nd. "and I don't want neither to use an extra variable to report the specified element of the resultant matrix" that is fundamentally impossible. If you want part of a matrix, you have to specify which part. That specification implies at least one variable (which might be a constant).
Luc
So what is keeping you from typing
[ORIGIN
at the end of the Find() function, in order to get the first of the list of solutions?
(To get the second of the list of solutions, type [ORIGIN+1 instead.)
Luc
I tried this option and It generated an error.
I hope I was wrong in the way of using it
Thanks
Nadia
That is because you are typing
,ORIGIN
as yet another parameter of the find function, instead of what I wrote, to type:
[ORIGIN
at the end, so past the ), of the find function.
Anyway, Fred has given you a file with the expression.
Luc
LucMeekes wrote:
That is because you are typing
,ORIGIN
Actually (in Prime) she's typing "Ctrl -" to get a literal subscript rather than a vector index. You are correct, "[" is still the index subscript she should have used.
It's not clear to me what you want. You are finding two unknowns, so the result is a vector with two rows. If you want to display only one of them, just use a vector subscript.
Hello Richard,
I am referring to this:
The index is used directly in Find function in Mathcad 15. It is not the case in Prime 3.1.
In other terms, I want to do it in the same way than Mathcad 15.
Best regards
Nadia
I don't want to use a vector with a subscript because I want to use this variable in the rest of the document and I don't want it to have a subscript, and meanwhile, I don't want to use another variable to define the desired row like shown in the screenshot. I want it to be directly found in the Find() function level.
This works in Prime 3.0:
Unfortunately, The subscript doesn't work with find function in Mathcad prime 3.1
Nadia;
The attached file was created in Prime 3.0.
Please open it in Prime 3.1, and post a screen shot of the result.
Yes, It works finally.
Thank you so much for your help and patience.
Best regards,
Nadia
> The index is used directly in Find function in Mathcad 15. It is not the case in Prime 3.1.
> In other terms, I want to do it in the same way than Mathcad 15.
As Fred has shown ist IS working the same way as in Mathcad 15 - at least in Prime 3.
So why do you think that it does not work that way?
You have neither provided a worksheet nor a screenshot of Prime failing using the very same syntax.
The screnshot you provided in your initial post is missing the matrix index 1 and so you get a vector with both values - all as it should be.
Could it be that you failed because you used the wrong type of subscript (literal instead of matrix)?
Werner Exinger wrote:
Could it be that you failed because you used the wrong type of subscript (literal instead of matrix)?
I remember me posting for help because I make this mistake in a worksheet and can't found it by myself.
Alvaro.