Skip to main content
1-Visitor
Solved

odesolve problem

Hi all!

 

I am thinking on a problem for work and I am trying to solve this ODE with odesolver. I am new to Mathcad and have been at it for several hours and cannot figure out what I'm doing wrong. Odesolve gives me this error:

 

"The number of rows returned from the function arguments does not match the number of equations to be solved"

 

If anyone could lend me a hand I would be eternally grateful.

 

Thank you!

LucMeekesAnswer
23-Emerald V

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 sure your error occurs due to this.

 

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

 

3 replies

LucMeekes23-Emerald VAnswer
23-Emerald V

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 sure your error occurs due to this.

 

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

 

Translate
strvalik1-VisitorAuthor
1-Visitor

Perfect! Thank you Luc you saved me many hours of headache

Translate
Werner_E
25-Diamond I

Luc is perfectly right with his assumption.

The square bracket you typed isn't necessary at all (as is the parenthesis around the whole nominator).

Werner_E_1-1594676155310.png

 

 

Translate