Numerical treatment of a system of second-order boundary value problems via mid-knot cubic non-polynomial spline