Skip to main content
1-Visitor
October 8, 2012
Solved

Problems(discontinuous condition) in Rkfixed

  • October 8, 2012
  • 1 reply
  • 4397 views

I want to put an Odesolver into a program, so I use rkfixed, but it is not working if I add the 'if statement'

\Anyone one know how to solve this?

Thanks!

Rong

Best answer by ViktorKorobov

rkfixed_test.GIF

Viktor

1 reply

24-Ruby IV
October 8, 2012

RONG XU wrote:

I want to put an Odesolver into a program, so I use rkfixed, but it is not working if I add the 'if statement'

\Anyone one know how to solve this?

Thanks!

Rong

1) Send please the Mathcad file too.

2) We can use the odesolve function in a program to by a creating a user function f(...):= odesolve(...) and by colling this function f(...) in the program.

1-Visitor
October 8, 2012

Thanks for reply!

Attached is the mathcad file. If you cannot open it, plz let me know.

And do you have example of function():=odesovler()

Best regard

Rong

1-Visitor
October 8, 2012