The purpose of this program is to implement the analytical solution for the following general 2nd order, homogeneous, Boundary Value problem (BVP) with constant coefficients.
ax"(t)+ bx'(t)+ cx(t)=0 for t1<=t<=t2
BC: x(t1)=x1 and x(t2)=x2
Solution:
>> BVP(a,b,c,t1,t2,x1,x2)
Example:
x"(t)+ 0.5x'(t)+ 10x(t)=0
Boundary values
x(1)=2, x(10)=0;
>> BVP(1,0.5,10,1,10,2,0)
Dr. Redmond Ramin Shamshiri (2021). Homogeneous, constant coefficients Boundary Value problem (BVP) solver (https://www.mathworks.com/matlabcentral/fileexchange/39594-homogeneous-constant-coefficients-boundary-value-problem-bvp-solver), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.