You should adhere to the lab policies
when you submit your solution.
This lab explores parametric equations.
- 1.
- In this question, we investigate Bézier curves,
which are used in the automotive industry to design the shape of cars.
Bézier curves are also used by laser printers, which is the subject
of this question.
A cubic Bézier curve is determined by four control points,
which we shall label
P0(x0,y0), P1(x1,y1), P2(x2,y2), and P3(x3,y3).
The curve is then given by the equations:
where
.
Notice that when t=0 we get
(x,y)=(x0,y0),
and when t=1 we have
(x,y)=(x3,y3).
- (a)
- Graph the Bézier curve with points P0(4,1), P1(28,48),
P2(50,42), and P3(40,5).
On the same figure, graph the line segments P0P1 and P2P3.
- (b)
- Prove that the tangent to the curve at P0 passes through P1,
and that the tangent to the curve at P3 passes through P2.
- (c)
- Experiment with different choices of the control points to find a Bézier
curve that gives a reasonable approximation to the letter C.
- (d)
- More complicated shapes can be obtained by piecing together two or more
Bézier curves. Try to create an approximation to the letter S
by using two Bézier curves.
- 2.
- In this problem, you will estimate the area of the region enclosed by the loop
of the curve corresponding to the parametric equations:
- (a)
- Plot the curve for the interval [-Pi/3..Pi/3] with u on the
horizontal axis and v on the vertical axis.
- (b)
- At what point does the curve cross itself?
Estimate the u and v coordinates of the point of intersection
by clicking the mouse on that point.
Use the estimate of the value of v to find the values of t
at the point of intersection.
Call the smaller value t0 and the larger value t2.
Check your answer by substituting t0 and t2 into the equation
for u.
- (c)
- Find the value of t in the interval [-Pi/3..Pi/3] where the loop
has a vertical tangent. Call this value t1.
- (d)
- At what value of t in the interval [-Pi/3..Pi/3] does the loop
have a horizontal tangent?
- (e)
- To determine the area of the loop in the interval [-Pi/3..Pi/3],
we divide the curve into two distinct sections.
Section #1 is from the intersection to the vertical tangent,
and Section #2 is from the vertical tangent to the intersection.
Use the following command to see these two sections:
plot
;
Include this plot in your worksheet.
Label t0, t1, and t2 by hand.
Draw an arrow from t0 to t1 and another from t1 to t2.
- (f)
- Calculate the area under each section of the curve and then calculate the
total area A of the loop by adding the area under Section #1
and subtracting the area under Section #2.
Use the following formula for A:
Why do the limits on the first integral go from t1 to t0?
- (g)
- Notice that in the equation for part (2f), we can reverse
the limits of integration for the second integral and add this new integral
to the other integral.
By doing this we obtain an equation that allows us to calculate the area
by integrating v*du from t2 to t0.
Calculate this integral and verify that you obtain the same result
as in part (2f).
John E Mitchell
1999-09-21