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

Root this function cannot be used here HELP

SOLVED
Guest

Root this function cannot be used here HELP

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Root this function cannot be used here HELP

Hi,

Found it.  The equation for AsA(A) should not have square brackets.  Now it returns a value so does not require the indexing.

 

Capture.PNG

5 REPLIES 5

Re: Root this function cannot be used here HELP

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.

 

Capture.PNG

 

Cheers

Terry

Re: Root this function cannot be used here HELP

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.

 

Capture.PNG

 

Cheers

Terry

Highlighted

Re: Root this function cannot be used here HELP

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.

Re: Root this function cannot be used here HELP

Hi,

Found it.  The equation for AsA(A) should not have square brackets.  Now it returns a value so does not require the indexing.

 

Capture.PNG

Re: Root this function cannot be used here HELP

My man, you saved our day. Thank you very much!