Could somebody explain what exactly a "piecewise quadratic approximation" is?(adsbygoogle = window.adsbygoogle || []).push({});

Problem Statement

Find a piecewise quadratic approximation P(x) of f(x), where

[tex]f(x)=\sin{4x}\; on \; [0,\pi][/tex]

Plot f(x) and P(x) on [tex][0,\pi][/tex].

What is the maximum value of the following:

[tex]|f(x)-P(x)| \; on \;[0,\pi][/tex]

The problem goes on to say:

Can you find a piecewise approximation to f(x) that is continuous on [tex][0,\pi][/tex] and each "piece" is a polynomial?

Attempt at Solution

I know that a piecewise is typically a set of linear functions defined at several intervals in the given domain of x. Is this what the problem is asking, except a quadratic approximation at several intervals? If so, how is one supposed to come up with that; it seems rather ambiguous. My thoughts are the same for the next part regarding the "continuous piecewise approximation".

The first part of the problem not listed asked to find a quadratic approximation of f(x), which I can do using a Taylor Series.

I have never heard of the term piecewise quadratic approximation and therefore stumped. If somebody could please give an explanation of what the problem is asking us to find, that would be greatly appreciated.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Piecewise Quadratic Approximation

**Physics Forums | Science Articles, Homework Help, Discussion**