We are given the following boundary conditions for a cubic spline section:

P(0) = pk

P(1) = pk+1

P00(0) = pk-1 + pk+1 - 2pk

P00(1) = pk + pk+2 - 2pk+1

In this case Mgeom = [ pk-1 pk pk+1 pk+2 ]T and the boundary conditions can be written

P(0) 0 1 0 0 Pk-1

P(1) 0 0 1 0 PK

P''(0) = 1 -2 1 0 . PK+1

P''(1) 0 1 -2 1 Pk+2

(a) (15 points) Given Mgeom as specified above, derive the 4 by 4 matrix Mspline.

(b) (10 points) Given your solution for Mspline write out the blending functions for this curve.

(c) (10 points) Give the equation P0(u) for the tangent to this curve in terms of Mspline and Mgeom.

(d) (10 points) Do adjacent segments satisfy C1 continuity? Give a mathematical justification.

(e) (10 points) Do adjacent segments satisfy C2 continuity? Give a mathematical justification.

P(0) = pk

P(1) = pk+1

P00(0) = pk-1 + pk+1 - 2pk

P00(1) = pk + pk+2 - 2pk+1

In this case Mgeom = [ pk-1 pk pk+1 pk+2 ]T and the boundary conditions can be written

P(0) 0 1 0 0 Pk-1

P(1) 0 0 1 0 PK

P''(0) = 1 -2 1 0 . PK+1

P''(1) 0 1 -2 1 Pk+2

(a) (15 points) Given Mgeom as specified above, derive the 4 by 4 matrix Mspline.

(b) (10 points) Given your solution for Mspline write out the blending functions for this curve.

(c) (10 points) Give the equation P0(u) for the tangent to this curve in terms of Mspline and Mgeom.

(d) (10 points) Do adjacent segments satisfy C1 continuity? Give a mathematical justification.

(e) (10 points) Do adjacent segments satisfy C2 continuity? Give a mathematical justification.

### Recently Asked Questions

- In a recent study M . Bertrand & S . Mullainathan , 2003 , researchers sent 5,000 fictitious résumés , identical except for the names , to companies

- Consider the following sequence of events : (1) A : B — > C ; (2) A — > C ; (3) D : A — > C ; (4) D — > C . This is most similar to

- Aaron has been training to run his first half-marathon and has timed himself repeatedly over the past months . When he actually runs the half , he is surprised