Using BVP4C for overdetermined system

  • Context: Graduate 
  • Thread starter Thread starter ktsharp
  • Start date Start date
  • Tags Tags
    System
Click For Summary
SUMMARY

The discussion focuses on solving an overdetermined nonlinear system of ordinary differential equations (ODEs) using MATLAB's bvp4c function. The user initially faced issues due to having too many boundary conditions and realized that the lack of declared parameters introduced an extra dimension, complicating the solution. The user had previously implemented the shooting method, which proved sensitive to initial conditions. The conclusion emphasizes the importance of correctly defining parameters to avoid overdetermination in boundary value problems.

PREREQUISITES
  • Understanding of nonlinear ordinary differential equations (ODEs)
  • Familiarity with MATLAB and its bvp4c function
  • Knowledge of boundary value problems and boundary conditions
  • Experience with the shooting method for solving ODEs
NEXT STEPS
  • Research the proper use of MATLAB's bvp4c for boundary value problems
  • Learn about parameter declaration and its impact on ODE solutions
  • Explore alternative numerical methods for solving overdetermined systems
  • Study sensitivity analysis in the context of initial conditions for ODEs
USEFUL FOR

Mathematics and engineering students, researchers dealing with nonlinear ODEs, and MATLAB users looking to solve boundary value problems effectively.

ktsharp
Messages
8
Reaction score
0
I have an overdetermined nonlinear system of ODEs:

W' = f(c)
c'' = f(W,W',c)

and boundary conditions
W(0)=a,W(L)=-a
c(0)=c(L)-b

I can split up the equations into three first order ODEs, and solve numerically with Matlab. I would like to use bvp4c, but I believe I have too many boundary conditions. Is this correct? If so, what alternative approach should I take to finding a solution. And if not, what am I doing wrong? I have already implemented the shooting method which is very sensitive on ICs for convergence, so looking for alternative method.

Regards,
 
Physics news on Phys.org
I've realized that I haven't declared any parameters, and thus introduce an extra dimension. This was the problem!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K