Ordinary differential equations

Ordinary differential equations

Post by hnpinheir » Mon, 06 Sep 2004 03:45:24


hi,
does anybody knows how can I use the fchamp command. The help example
is not so clear to me. I could not identify the mathematical function
expressed by:

deff("[xdot] = derpol(t,x)",..
["xd1 = x(2)";..
"xd2 = -x(1) + (1 - x(1)**2)*x(2)";..
"xdot = [ xd1 ; xd2 ]"])

If anybody can help me with two very easy examples:

y'=3+2y

y'=3t+2y

Thanks,
Henrique