Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: Root this function cannot be used here HELP

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
06:38 AM

05-17-2019
06:38 AM

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.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
08:21 AM

5 REPLIES 5

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
07:07 AM

05-17-2019
07:07 AM

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.

Cheers

Terry

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
07:07 AM

05-17-2019
07:07 AM

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.

Cheers

Terry

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
07:38 AM

05-17-2019
07:38 AM

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.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
08:21 AM

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

05-17-2019
08:23 AM

05-17-2019
08:23 AM

Re: Root this function cannot be used here HELP

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

Top Tags