Skip to main content
24-Ruby IV
September 20, 2012
Solved

Odesolve and a boundary problem (Mathcad Prime)

  • September 20, 2012
  • 13 replies
  • 5785 views

No complete happiness in life

The odesolve function of Mathcad 15 cannot work with units but can work with a boundary problem.

The odesolve function of Mathcad Prime can work with units but cannot work with a boundary problem.

Or I do someone wrong in Mathcad Prime?

See the attach and the picture:

Mathcad 15:

ball-Boundary.png

Prime:

ball-Boundary-Prime.png

Best answer by AlanStevens

Although it's annoying that Prime doesn't do the boundary condition case as simply as M15, it's actually not all that difficult to add a simple extra solve block to find the initial velocity that produces the desired end condition - see attached. This is also much simpler (to my mind, anyway) than using sbval.

Alan

PS I agree though, that Prime should be able to do it as simply as M15.

PPS Apologies for using state-space approach again - I just find it easier to think about that way!

13 replies

19-Tanzanite
September 21, 2012

Although it's annoying that Prime doesn't do the boundary condition case as simply as M15, it's actually not all that difficult to add a simple extra solve block to find the initial velocity that produces the desired end condition - see attached. This is also much simpler (to my mind, anyway) than using sbval.

Alan

PS I agree though, that Prime should be able to do it as simply as M15.

PPS Apologies for using state-space approach again - I just find it easier to think about that way!

24-Ruby IV
September 21, 2012

Thanks. Alan!

AlanStevens wrote:

PPS Apologies for using state-space approach again - I just find it easier to think about that way!

I'm ashamed to say I thought you went to the spree - was celebrated in English pubs the title of Hero of the Month