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

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

6-Contributor

## 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

1 ACCEPTED SOLUTION

Accepted Solutions
23-Emerald III
(To:Abdelazeem)

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
23-Emerald III
(To:Abdelazeem)

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

6-Contributor
(To:LucMeekes)

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

24-Ruby V
(To:Abdelazeem)

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 😉