2) Consider the inner product (p,q) = p(x)q(x) dx on C[0,1] – the space of functions continuous on the interval [0,1]. Use Mathematica to answer the following problems. a) Construct an orthonormal set from the set {1,x,x²,x³, x², x³}. b) Use the orthonormal set to find an approximation to sin(x). c) Plot sin(x) and the approximation from b.) on the same set of axes over the range 0 ≤ x ≤ 1. d) Compute the metric distance between sin(x) and the approximation from b.). e) Find the Taylor Polynomial of degree 5 for sin(x). f) Find the metric distance between sin(x) and its Taylor Polynomial of degree 5.

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter1: Vectors
Section1.2: Length And Angle: The Dot Product
Problem 70EQ
icon
Related questions
Question
100%
2) Consider the inner product (p,q) = p(x)q(x) dx on C[0,1] – the space
of functions continuous on the interval [0,1]. Use Mathematica to answer
the following problems.
a) Construct an orthonormal set from the set {1,x,x²,x³, x², x³}.
b) Use the orthonormal set to find an approximation to sin(x).
c) Plot sin(x) and the approximation from b.) on the same set of axes
over the range 0 ≤ x ≤ 1.
d) Compute the metric distance between sin(x) and the approximation
from b.).
e) Find the Taylor Polynomial of degree 5 for sin(x).
f) Find the metric distance between sin(x) and its Taylor Polynomial
of degree 5.
Transcribed Image Text:2) Consider the inner product (p,q) = p(x)q(x) dx on C[0,1] – the space of functions continuous on the interval [0,1]. Use Mathematica to answer the following problems. a) Construct an orthonormal set from the set {1,x,x²,x³, x², x³}. b) Use the orthonormal set to find an approximation to sin(x). c) Plot sin(x) and the approximation from b.) on the same set of axes over the range 0 ≤ x ≤ 1. d) Compute the metric distance between sin(x) and the approximation from b.). e) Find the Taylor Polynomial of degree 5 for sin(x). f) Find the metric distance between sin(x) and its Taylor Polynomial of degree 5.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning
Elements Of Modern Algebra
Elements Of Modern Algebra
Algebra
ISBN:
9781285463230
Author:
Gilbert, Linda, Jimmie
Publisher:
Cengage Learning,
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage