Numerical Analysis
Numerical Analysis
3rd Edition
ISBN: 9780134696454
Author: Sauer, Tim
Publisher: Pearson,
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 3.5, Problem 1E

Find the one-piece BĂ©zier curve ( x ( t ) , y ( t ) ) defined by the given four points.

(a) ( 0 , 0 ) , ( 0 , 2 ) , ( 2 , 0 ) , ( 1 , 0 )

(b) ( 1 , 1 ) , ( 0 , 0 ) , ( 2 , 0 ) , ( 2 , 1 )

(c) ( 1 , 2 ) , ( 1 , 3 ) , ( 2 , 3 ) , ( 2 , 2 )

a)

Expert Solution
Check Mark
To determine

To find:The one- piece Bezier curve defined by the given four points.

Answer to Problem 1E

The Bezier curve defined by the given points is;

   x(t)=6t25t3y(t)=6t12t2+6t3

Explanation of Solution

Given:

Four points are (0,0),(0,2),(2,0),(1,0).

Formula used:

Bezier curve equations are

   x(t)=x1+bxt+cxt2+dyt3y(t)=y1+byt+cyt2+dyt3co-efficients arebx=3(x2x1)cx=3(x2x1)bxdx=x4x1bxcxby=3(y2y1)cy=3(y3y2)bxdy=y4y1bycy

Calculation:

From the given data,

We have,

   (x1,y1)=(0,0)(x2,y2)=(0,2)(x3,y3)=(2,0),(x4,y4)=(1,0)

The coefficients of Bezier curve are determined as follows:

   bx=3(x2x1)=3(00)=0cx=3(x2x1)bx=3(20)0=6dx=x4x1bxcx=1006=5

   by=3(y2y1)=3(20)=6cy=3(y3y2)bx=3(02)6=12dy=y4y1bycy=006+12=6

   x(t)=x1+bxt+cxt2+dyt3=0+0+6t25t3=6t25t3y(t)=y1+byt+cyt2+dyt3=0+6t12t2+6t3+0=6t12t2+6t3

Therefore, the Bezier curve equations are

   x(t)=6t25t3y(t)=6t12t2+6t3

b)

Expert Solution
Check Mark
To determine

To find:The one- piece Bezier curve defined by the given four points.

Answer to Problem 1E

The Bezier curve defined by the equations

   x(t)=13t3t2+3t3y(t)=13t+3t2

Explanation of Solution

Given:

Four points are (1,1),(0,0),(2,0),(2,1).

Formula used:

Bezier curve equations are

   x(t)=x1+bxt+cxt2+dyt3y(t)=y1+byt+cyt2+dyt3coefficients arebx=3(x2x1)cx=3(x2x1)bxdx=x4x1bxcxby=3(y2y1)cy=3(y3y2)bxdy=y4y1bycy

Calculation:

From the given data,

We have,

   (x1,y1)=(1,1(x2,y2)=(0,0)(x3,y3)=(2,0),(x4,y4)=(2,1)

The coefficients of Bezier curve are determined as follows:

   bx=3(x2x1)=3(01)=3cx=3(x2x1)bx=3(20)0=3dx=x4x1bxcx=21+3+3=3

   by=3(y2y1)=3(01)=3cy=3(y3y2)bx=3(00)+3=3dy=y4y1bycy=11+33=0

   x(t)=x1+bxt+cxt2+dyt3=1+(3)t+(3)t2+3t3=13t3t2+3t3y(t)=y1+byt+cyt2+dyt3=13t+3t2+0=13t+3t2

Therefore, the Bezier curve equations are

   x(t)=13t3t2+3t3y(t)=13t+3t2

c)

Expert Solution
Check Mark
To determine

To find:The one- piece Bezier curve defined by the given four points.

Answer to Problem 1E

The Bezier curve defined by the equations

   x(t)=1+3t22t3y(t)=2+3t3t2

Explanation of Solution

Given:

Four points are (1,2),(1,3),(2,3),(2,2).

Formula used:

Bezier curve equations are

   x(t)=x1+bxt+cxt2+dyt3y(t)=y1+byt+cyt2+dyt3coefficients arebx=3(x2x1)cx=3(x2x1)bxdx=x4x1bxcxby=3(y2y1)cy=3(y3y2)bxdy=y4y1bycy

Calculation:

From the given data,

We have,

   (x1,y1)=(1,2)(x2,y2)=(1,3)(x3,y3)=(2,3),(x4,y4)=(2,2)

The coefficients of Bezier curve are determined as follows:

   bx=3(x2x1)=3(11)=0cx=3(x2x1)bx=3(21)0=3dx=x4x1bxcx=2103=2

   by=3(y2y1)=3(32)=3cy=3(y3y2)bx=3(33)3=3dy=y4y1bycy=22+33=0

   x(t)=x1+bxt+cxt2+dyt3=1+(0)t+(3)t2+(2)t3=1+3t22t3y(t)=y1+byt+cyt2+dyt3=2+3t3t2

Therefore, the Bezier curve equations are

   x(t)=1+3t22t3y(t)=2+3t3t2

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
compute ∫C F · dr for the oriented curve specified. F(x, y) = (ey^-x, e2x), piecewise linear path from (1, 1) to (2, 2) to (0, 2).
Find an equation of the tangent plane to the surface at the given point z= 5x - xy3+y2,     (1,1,5)
Let φ(x, y, z) = x 3y + z. Find R C ∇φ · dr, where C is any curve starting at (1, 0, 0) and ending at (1, 1, 1).

Chapter 3 Solutions

Numerical Analysis

Ch. 3.1 - Let P1, P2, P3, and P4 be four different points...Ch. 3.1 - Can a degree 3 polynomial intersect a degree 4...Ch. 3.1 - Let P(x) be the degree 10 polynomial through the...Ch. 3.1 - Write down 4 noncollinear points (1,y1), (2,y2),...Ch. 3.1 - Write down the degree 25 polynomial that passes...Ch. 3.1 - List all degree 42 polynomials that pass through...Ch. 3.1 - The estimated mean atmospheric concentration of...Ch. 3.1 - Prob. 18ECh. 3.1 - Apply the following world population figures to...Ch. 3.1 - Write a version of Program 3.2 that is a MATLAB...Ch. 3.1 - Write a MATLAB function polyinterp.m that takes as...Ch. 3.1 - Remodel the sin1 calculator key in Program 3.3 to...Ch. 3.1 - (a) Use the addition formulas for sin and cos to...Ch. 3.2 - Find the degree 2 interpolating polynomial P2(x)...Ch. 3.2 - (a) Given the data points (1,0), (2,In2), (4,In4),...Ch. 3.2 - Assume that the polynomial P9(x) interpolates the...Ch. 3.2 - Consider the interpolating polynomial for...Ch. 3.2 - Assume that a function f(x) has been approximated...Ch. 3.2 - Assume that the polynomial P5(x) interpolates a...Ch. 3.2 - (a) Use the method of divided differences to find...Ch. 3.2 - Plot the interpolation error of the sin1 key from...Ch. 3.2 - The total world oil production in millions of...Ch. 3.2 - Use the degree 3 polynomial through the first four...Ch. 3.3 - List the Chebyshev interpolation nodes x1,...,xn...Ch. 3.3 - Find the upper bound for | (xx1)...(xxn) | on the...Ch. 3.3 - Assume that Chebyshev interpolation is used to...Ch. 3.3 - Answer the same questions as in Exercise 3, but...Ch. 3.3 - Find an upper bound for the error on [ 0,2 ] when...Ch. 3.3 - Assume that you are to use Chebyshev interpolation...Ch. 3.3 - Suppose you are designing the In key for a...Ch. 3.3 - Let Tn(x) denote the degree n Chebyshev...Ch. 3.3 - Determine the following values: (a) T999(1) (b)...Ch. 3.3 - Prob. 1CPCh. 3.3 - Prob. 2CPCh. 3.3 - Carry out the steps of Computer Problem 2 forIn x,...Ch. 3.3 - Let f(x)=e| x |, Compare evenly spaced...Ch. 3.3 - Prob. 5CPCh. 3.4 - Decide whether the equations form a cubic spline....Ch. 3.4 - Check the spline conditions for {...Ch. 3.4 - Find c in the following cubic splines. Which of...Ch. 3.4 - Find k1,k2,k3 in the following cubic spline. Which...Ch. 3.4 - How many natural cubic splines on [ 0,2 ] are...Ch. 3.4 - Find the parabolically terminated cubic spline...Ch. 3.4 - Solve equations 3.26 to find the natural cubic...Ch. 3.4 - Solve equations 3.26 to find the natural cubic...Ch. 3.4 - Prob. 9ECh. 3.4 - True or false: Given n=3 data points, the...Ch. 3.4 - (a) How many parabolically terminated cubic...Ch. 3.4 - How many not-a-knot cubic splines are there for...Ch. 3.4 - Find b1 and c3 in the cubic spline S(x)={...Ch. 3.4 - Prob. 14ECh. 3.4 - Prob. 15ECh. 3.4 - Prob. 16ECh. 3.4 - Prob. 17ECh. 3.4 - Prob. 18ECh. 3.4 - Prob. 19ECh. 3.4 - Discuss the existence and uniqueness of a...Ch. 3.4 - Prob. 21ECh. 3.4 - Prob. 1CPCh. 3.4 - Find and plot the not-a-knot cubic spline that...Ch. 3.4 - Find and plot the cubic spline S satisfying...Ch. 3.4 - Prob. 4CPCh. 3.4 - Prob. 5CPCh. 3.4 - Find and plot the cubic spline S satisfying...Ch. 3.4 - Prob. 7CPCh. 3.4 - Prob. 8CPCh. 3.4 - Find the clamped cubic spline that interpolates...Ch. 3.4 - Find the number of interpolation nodes in Computer...Ch. 3.4 - (a) Consider the natural cubic spline through the...Ch. 3.4 - Prob. 12CPCh. 3.4 - In a single plot, show the natural, not-a-knot,...Ch. 3.4 - Prob. 14CPCh. 3.4 - Prob. 15CPCh. 3.5 - Find the one-piece BĂ©zier curve (x(t),y(t))...Ch. 3.5 - Find the first endpoint two control points, and...Ch. 3.5 - Find the three-piece BĂ©zier curve forming the...Ch. 3.5 - Build a four-piece BĂ©zier spline that forms a...Ch. 3.5 - Describe the character drawn by the following...Ch. 3.5 - Describe the character drawn by the following...Ch. 3.5 - Find a one-piece BĂ©zier spline that has vertical...Ch. 3.5 - Find a one-piece Bezier spline that has a...Ch. 3.5 - Prob. 9ECh. 3.5 - Find the knots and control points for the...Ch. 3.5 - Prove the facts in (3.27), and explain how they...Ch. 3.5 - Given (x1,y1), (x2,y2), (x3,y3), and (x4,y4), show...Ch. 3.5 - Plot the cure in Exercise 7.Ch. 3.5 - Prob. 2CPCh. 3.5 - Plot the letter from BĂ©zier curves: (a) W (b) B...Ch. 3.5 - Use the bezierdraw.m program of Section 3.5 to...Ch. 3.5 - Revise the draw program to accept an n8 matrix of...Ch. 3.5 - Using the template above and your favorite text...Ch. 3.5 - Prob. 4SACh. 3.5 - Although font information was a closely guarded...Ch. 3.5 - Prob. 6SA
Knowledge Booster
Background pattern image
Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, subject and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Discrete Mathematics and Its Applications ( 8th I...
Math
ISBN:9781259676512
Author:Kenneth H Rosen
Publisher:McGraw-Hill Education
Text book image
Mathematics for Elementary Teachers with Activiti...
Math
ISBN:9780134392790
Author:Beckmann, Sybilla
Publisher:PEARSON
Text book image
Calculus Volume 1
Math
ISBN:9781938168024
Author:Strang, Gilbert
Publisher:OpenStax College
Text book image
Thinking Mathematically (7th Edition)
Math
ISBN:9780134683713
Author:Robert F. Blitzer
Publisher:PEARSON
Text book image
Discrete Mathematics With Applications
Math
ISBN:9781337694193
Author:EPP, Susanna S.
Publisher:Cengage Learning,
Text book image
Pathways To Math Literacy (looseleaf)
Math
ISBN:9781259985607
Author:David Sobecki Professor, Brian A. Mercer
Publisher:McGraw-Hill Education
Finding Local Maxima and Minima by Differentiation; Author: Professor Dave Explains;https://www.youtube.com/watch?v=pvLj1s7SOtk;License: Standard YouTube License, CC-BY