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

- Please refer to the attachment to answer this question. This question was created from CH 20 HW.

- I am working on this program and keep getting an error syntax error c2059. The course is GSP125 Lab 3

- Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use our phone or