Turn on suggestions

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

Showing results for

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

Showing results for

** Community Tip** - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question.
X

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

Jul 13, 2020
04:11 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 13, 2020
04:11 PM

NAN result for minerr

The result of the minerr is NAN

the attachment file contains the program and the results

please anyone can help me to find the error

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Jul 13, 2020
05:04 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 13, 2020
05:04 PM

If you want to collect an expression into brackets you should NEVER type square brackets "[ ]", but ONLY round brackets "( )".

When you type square brackets, Prime creates an array or matrix..

I'm pretty sure your problem occurs due to this, unless of course there is no solution with the given set of equations.

So go in and change the square brackets to round ones. Depending on the nesting of brackets, Prime may show some of them as square brackets, but, as said, you should never type them.

Success!

Luc

4 REPLIES 4

Jul 13, 2020
05:04 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 13, 2020
05:04 PM

If you want to collect an expression into brackets you should NEVER type square brackets "[ ]", but ONLY round brackets "( )".

When you type square brackets, Prime creates an array or matrix..

I'm pretty sure your problem occurs due to this, unless of course there is no solution with the given set of equations.

So go in and change the square brackets to round ones. Depending on the nesting of brackets, Prime may show some of them as square brackets, but, as said, you should never type them.

Success!

Luc

Jul 13, 2020
05:41 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 13, 2020
05:41 PM

Thank you indeed for your help , the problem has been solved , I have changed the bracket and the problem was solved

Jul 13, 2020
05:21 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 13, 2020
05:21 PM

Typing square brackets creates a vector/matrix.

So unless you want create a matrix you never should use square brackets, always use parenthesis to structure your expressions.

BTW, you have four equations and four variables to solve for and your system is solvable. You may also use "find" instead of "minerr".

EDIT: Ah, I see that Luc was faster 😉

@Abdelazeem For future questions please ask them here in the forum by opening a new therad. No need to ask via PM.

Jul 13, 2020
05:43 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jul 13, 2020
05:43 PM

Yes , I just change the bracket and get the result , thanks a lot for your interesting and for LUC