Q. Determine the equation for a cubic spline segment passing through two end points A (0, 5) and B (10, 20), having a slope of 2 and a curvature of -0.5 at A.

Equation for cubic spline is: