Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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.
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
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
Thank you indeed for your help , the problem has been solved , I have changed the bracket and the problem was solved
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.
Yes , I just change the bracket and get the result , thanks a lot for your interesting and for LUC