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: y=a0+a1.x+a2.x^2+a3.x^3 Slope equation is:y’=dy/dx=a1+ 2a2.x+3a3.x^2 curvature equation is:y”=d2y/dx2=2a2+6a3.x