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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

odesolve problem

strvalik
2-Explorer

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!

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:strvalik)

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

 

View solution in original post

3 REPLIES 3
LucMeekes
23-Emerald III
(To:strvalik)

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

 

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

Werner_E
25-Diamond I
(To:strvalik)

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

 

 

Announcements

Top Tags