3.4 (Graded) Cubic splines2. Determine the clamped cubic spline s that interpolates the dataf (0) 0, f(1) 1, f(2) 2and satisfies s' (0) = s'(2) = 1Note: this can be done effectively by hand.4c. Construct the natural cubic spline for the following data.f (x)х-0.290049960.1-0.560797340.2-0.814019720.3Note: this can be done effectively with the aid of software - avoid ugly numbers by hand.8c. Construct the clamped cubic spline using the data of Exercise 4 and the fact thatf'(0.1) =-2.801998 and f'(0.3) = -2.453395.Note: Book has f(0.1) listed incorrectly. Also this can be done effectively with the aidof software avoid ugly numbers by hand.12. A clamped cubic splines for a function f is defined on [1,3] byJso()3(-1)+2( -1)2 - (x - 1)3, if 1 < 2S1()a+b(x - 2)+ c( - 2)2 + d(x - 2)3,s(x) =if 2

Question
Asked Oct 31, 2019
78 views

#4c from this handout

 

From Numerical Analysis 8th edition by Burden, Section 3.4

3.4 (Graded) Cubic splines
2. Determine the clamped cubic spline s that interpolates the data
f (0) 0, f(1) 1, f(2) 2
and satisfies s' (0) = s'(2) = 1
Note: this can be done effectively by hand.
4c. Construct the natural cubic spline for the following data.
f (x)
х
-0.29004996
0.1
-0.56079734
0.2
-0.81401972
0.3
Note: this can be done effectively with the aid of software - avoid ugly numbers by hand.
8c. Construct the clamped cubic spline using the data of Exercise 4 and the fact that
f'(0.1) =-2.801998 and f'(0.3) = -2.453395.
Note: Book has f(0.1) listed incorrectly. Also this can be done effectively with the aid
of software avoid ugly numbers by hand.
12. A clamped cubic splines for a function f is defined on [1,3] by
Jso()3(-1)+2( -1)2 - (x - 1)3, if 1 < 2
S1()a+b(x - 2)+ c( - 2)2 + d(x - 2)3,
s(x) =
if 2 <I< 3.
Given f'(1) f'(3), find a, b, c, and d.
Note: this can be done effectively by hand.
16. Construct a natural cubic spline to approximate f(x) = e by using the values given by
f(x) at x 0, 0.25, 0.75, and 1.0.
1
1
e dx 1-
the result to
(a) Integrate the spline over [0, 1], and
compare
е
(b) Use the derivatives of the spline to approximate f (0.5) and f"(0.5). Compare the
approximations to the actual values.
Note: this can be done effectively with the aid of software.
19. Suppose that f(x) is a polynomial of degree 3. Show that f(x) is its own clamped cubic
spline, but that it cannot be its own natural cubic spline.
29. (Bonus/graduate) A car traveling along a straight road is clocked at a number of points.
The data from the observations are given in the following table, where the time is in
seconds, the distance is in feet, and the speed is in feet per second.
13
8.
0
3
5
Time
Distance 0
Speed
225 383 623 993
72
80
74
75
77
(a) Use a clamped cubic spline to predict the position of the car and its speed when t = 10 s.
(b) Use the derivative of the spline to determine whether the car ever exceeds a 55
speed limit on the road; if so, what is the first time the car exceeds this speed?
(c) What is the predicted maximum speed for the car?
Note: this can be done effectively with the aid of software.
help_outline

Image Transcriptionclose

3.4 (Graded) Cubic splines 2. Determine the clamped cubic spline s that interpolates the data f (0) 0, f(1) 1, f(2) 2 and satisfies s' (0) = s'(2) = 1 Note: this can be done effectively by hand. 4c. Construct the natural cubic spline for the following data. f (x) х -0.29004996 0.1 -0.56079734 0.2 -0.81401972 0.3 Note: this can be done effectively with the aid of software - avoid ugly numbers by hand. 8c. Construct the clamped cubic spline using the data of Exercise 4 and the fact that f'(0.1) =-2.801998 and f'(0.3) = -2.453395. Note: Book has f(0.1) listed incorrectly. Also this can be done effectively with the aid of software avoid ugly numbers by hand. 12. A clamped cubic splines for a function f is defined on [1,3] by Jso()3(-1)+2( -1)2 - (x - 1)3, if 1 < 2 S1()a+b(x - 2)+ c( - 2)2 + d(x - 2)3, s(x) = if 2 <I< 3. Given f'(1) f'(3), find a, b, c, and d. Note: this can be done effectively by hand. 16. Construct a natural cubic spline to approximate f(x) = e by using the values given by f(x) at x 0, 0.25, 0.75, and 1.0. 1 1 e dx 1- the result to (a) Integrate the spline over [0, 1], and compare е (b) Use the derivatives of the spline to approximate f (0.5) and f"(0.5). Compare the approximations to the actual values. Note: this can be done effectively with the aid of software. 19. Suppose that f(x) is a polynomial of degree 3. Show that f(x) is its own clamped cubic spline, but that it cannot be its own natural cubic spline. 29. (Bonus/graduate) A car traveling along a straight road is clocked at a number of points. The data from the observations are given in the following table, where the time is in seconds, the distance is in feet, and the speed is in feet per second. 13 8. 0 3 5 Time Distance 0 Speed 225 383 623 993 72 80 74 75 77 (a) Use a clamped cubic spline to predict the position of the car and its speed when t = 10 s. (b) Use the derivative of the spline to determine whether the car ever exceeds a 55 speed limit on the road; if so, what is the first time the car exceeds this speed? (c) What is the predicted maximum speed for the car? Note: this can be done effectively with the aid of software.

fullscreen
check_circle

Expert Answer

Step 1

From the given information:

f(0.1)0.29004996
f(0.2)0.56079734
f(0.3) 0.81401972
help_outline

Image Transcriptionclose

f(0.1)0.29004996 f(0.2)0.56079734 f(0.3) 0.81401972

fullscreen
Step 2

Here n+1=3 so, n=2

Now, define the polynomial pieces into piecewise polynomial as:

P, a,b,(x)+c, (t-x,)
where j 1 to n
by putting the values it reduces to:
a+(-0.1)+c(t-0.1)
a+b(-0.2)+c(-0.2)
help_outline

Image Transcriptionclose

P, a,b,(x)+c, (t-x,) where j 1 to n by putting the values it reduces to: a+(-0.1)+c(t-0.1) a+b(-0.2)+c(-0.2)

fullscreen
Step 3

Now substitute the values to get...

put p (0.1)0.29004996
ab(0.1-0.1)+ c, (0.1-0.1) =-0.29004996
a,-0.29004996
put p (0.2)0.56079734
ab(0.2-0.1)+c,(0.2-0.1) = -0.56079734
-0.29004996+ b (0.1)+c, (0.1) =-0.56079734
0.1b0.01c, = -0.27074738
help_outline

Image Transcriptionclose

put p (0.1)0.29004996 ab(0.1-0.1)+ c, (0.1-0.1) =-0.29004996 a,-0.29004996 put p (0.2)0.56079734 ab(0.2-0.1)+c,(0.2-0.1) = -0.56079734 -0.29004996+ b (0.1)+c, (0.1) =-0.56079734 0.1b0.01c, = -0.27074738

fullscreen

Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour.*

See Solution
*Response times may vary by subject and question.
Tagged in

Math

Advanced Math

Related Advanced Math Q&A

Find answers to questions asked by student like you

Show more Q&A add
question_answer

Q: In Exercises 1-17 find a particular solution. 2. у" + Зу' + у %3 (2 — 6х) сos х — 9 sin x

A: The second order non homogeneous ordinary differential equation y’’ + 3 y’ + y = (2 – 6x) cos x – 9 ...

question_answer

Q: You can afford a $1450 per month mortgage payment. You've found a 30 year loan at 7% interest.a) How...

A: According to the given information:Mortgage payment per month = $1450Time period of loan = 30 yearsR...

question_answer

Q: How many 2 letter codes can be formed using A,B,C, and D if each letter can be used any numner of ti...

A: Here we have two place and any letter can be at any place. Now we have two place and in the first pl...

question_answer

Q: Solve the following system of linear equations:   Which one of the following statements best describ...

A: Consider the given system of linear equations.

question_answer

Q: A bunch of broccoli weighs 22 ounces before cleaning. After cleaning, the broccoli weighs 14 ounces....

A: Let x be the total weight of broccoli should be purchased.Given that, a bunch of broccoli weighs 22 ...

question_answer

Q: a bijection (not the binomial theorem!), prove that for n E N Using Σ-1()- =0

A: Here we know that:

question_answer

Q: You have $300,000 saved for retirement. Your account earns 7% interest. How much will you be able to...

A: It is given that the present value in the is $300,000, rate of interest is 7% and the number of peri...

question_answer

Q: Prove the following:For every natural number n≥1, 1+4+7+⋯+(3n−2)=n(3n−1)2.

A: To prove the identity involving the sum to n terms of the given series

question_answer

Q: Evaluate the triple integral.  (x2 + y2) dx dy dz; W is the pyramid with top vertex at (0, 0, 2) an...

A: The given triple integral is,