Ok, I'm going to try to write the problem again:
I have the following equation:
f(x+h)=f(x)+c1*(g(x)-g(x-h))+c2(h(x)-h(x-h)) (1)
I would like to now if is it possible multiply the equation by (1/h):
((f(x+h)-f(x))/ h)= c1*((g(x)-g(x-h))/z)+c2*((h(x)-h(x-h))/z)
Then...
I have to transform this equation X(j+1)=X(j)+c1*(Y(j)-Y(j-1))+c2(Z(j)-Z(j-1))
in a differential one.
I would like to know if is it possible multiply the equation by (1/z), like this:
(X(j+1)-X(j)) / Z = c1*((Y(j)-Y(j-1))/ Z)+c2((Z(j)-Z(j-1)) / Z)
Then approximate the difference by...
I have in my system a equation like this:
\frac{dy}{dx}=\sum\frac{By}{M1}
B and M1 are constats.
When I apply the Runge-Kutta I have:
y_{i}=y_{i-1}+\frac{h}{6}(k1+2k2+2k3+k4)
My doubt is: How do I incert this in the equation of the system to build the Jacobian?
Thaks,
Aline
Hi,
I trying to solve a system of Nonlinear Differential Equations.
I'm using Runge-Kutta on the Differential equations and Newton Method
for the system. I have some doubts in how to create the JAcobian to the
differential equations.
Could somebody help me, please?
Thank you,
Aline