Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'ODEs and solution to system' topicStudent Support Forum > General > Archives > "ODEs and solution to system"

Help | Reply To Topic
Author Comment/Response
02/20/12 09:48am


I have a system of ODEs of the form

dx/dt = v
dv/dt = a = C*f(x),

where C denotes a constant and f(x) is some function of x. This system is easy to solve using e.g.

NDSolve[x''[t] == -C*f(x), x[0] == 0, x'[0] == 0}, x, {t, 0, tMax}];

The solution x[t] (or rather, its derivative x'[t]) I need to use in the following expression:

B(x) = A + v(x)

where A denotes a constant. But please note that it is as a function of x, not t. What should I do to achieve this?

Best regards,

URL: ,
Help | Reply To Topic