program3

program3 - Program 3 Foundations of Computational Math 2...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Program 3 Foundations of Computational Math 2 Spring 2011 Due date: 11:59 PM Wednesday, 3/16/11 Problem 3.1 In this exercise you will implement three parametric curve drawing algorithms as code and investigate their use. The algorithms are: parametric interpolatory cubic splines; Bezier curve; parametric B-spline curve. 3.1.a . Use your interpolatory cubic spline code from Program 2 and discrete points P i = ( x i , y i ) R 2 to determine an interpolating parametric spline curve. Discuss the setting of your boundary conditions. Use the data from the notes given below as well as others of your own design. The data for the spiral in the notes are: X=[1-.8 -.65 .52 .41 -.333 -.27 .21 .16] Y=[1 .8 -.65 -.52 .41 .333 -.27 -.21 .16] The data for the closed curve in the notes are: X=[1 -1 -1.2 -1.5 -1.0 -0.3 0.9 1.3 1] Y=[1 1.2 -0.1 -0.5 -1.0 -1.5 -1.2 0.2 1] 3.1.b . Implement a Bezier curve code that accepts points P i R 2 , 0 i n , and draws the associated Bezier curve.draws the associated Bezier curve....
View Full Document

This note was uploaded on 11/10/2011 for the course MAD 5404 taught by Professor Gallivan during the Spring '11 term at FSU.

Page1 / 2

program3 - Program 3 Foundations of Computational Math 2...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online