Can Matlab ODE solver solve this problem
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Answers (1)
Torsten
on 29 Nov 2017
Given p(lambda_i) and q(eta_i), you can determine p(lambda_i+delta_lambda) and q(eta_i+delta_eta) by solving the system of equations
f(eta_i+delta_eta,lambda_i+delta_lambda,q(eta_i+delta_eta),p(lambda_i+delta_lambda),(q(eta_i+delta_eta)-q(eta_i))/delta_eta,(p(lambda_i+delta_lambda)-p(lambda_i))/delta_lambda)=0
g(eta_i+delta_eta,lambda_i+delta_lambda,q(eta_i+delta_eta),p(lambda_i+delta_lambda),(q(eta_i+delta_eta)-q(eta_i))/delta_eta,(p(lambda_i+delta_lambda)-p(lambda_i))/delta_lambda)=0
using "fsolve", e.g.
So starting from p(lambda_start) and q(eta_start) (initial values), you can integrate your system up to specified values for lambda_end and eta_end.
Look up "method of characteristics" for more details.
Best wishes
Torsten.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!