Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello all!
Im new to MathCAD and Im trying to use the root function to solve a series of functions, but I keep getting an error which says "This function cannot be used here" in the root expression. Anyone got any clue?
Can anyone check my spreadsheet? Its on the last page, thank you
Solved! Go to Solution.
Hi,
Found it. The equation for AsA(A) should not have square brackets. Now it returns a value so does not require the indexing.
Hi,
The function you are trying to find the root of returns a vector with one value. To use the root your function must return a single value.
Workaround is enclosed. You just need to take the first and only element of the vector as the result of the function.
Cheers
Terry
Hi,
The function you are trying to find the root of returns a vector with one value. To use the root your function must return a single value.
Workaround is enclosed. You just need to take the first and only element of the vector as the result of the function.
Cheers
Terry
Thanks for the reply Terry.
Do you have any clue why it returns a vector and not a single value? Im following an example and the only differences is the constants of a couple of my variable yet the example can get the root to return a single value.
Hi,
Found it. The equation for AsA(A) should not have square brackets. Now it returns a value so does not require the indexing.
My man, you saved our day. Thank you very much!