Function expansion, Mathematics

Assignment Help:

The functions

{sinmx; cosmx}; m = 0,....∞

form a complete set over the interval x ∈ [ -Π, Π]. That is, any function f(x) can be expressed as a linear superposition of these with a unique set of coecients. For f(x) = x, we have

883_FUNCTION EXPANSION.png

To show that the above holds for x = 1, study the di erence between the left- and right-hand sides of the equality as a function of the number of terms included in the sum. Write an octave program to compute and plot the truncated sum approximation (expansion vs x) for n =4 and 16 together with the function x. Make a table showing the error (di erence between two sides) for n =1, 2, 4, 16, 64, 256, 1024. Plot the result of the expansion for 2 values of n together with the original function. Comment on your results. You should submit an octave script or function le I can use to reproduce your results and a separate document (plain text le preferred) for your comments.


Related Discussions:- Function expansion

Npv, how to calculate the npv

how to calculate the npv

Linear programming , Use the simplex method to solve the following LP Probl...

Use the simplex method to solve the following LP Problem. Max Z = 107x1+x2+2x3 Subject to 14x1+x2-6x3+3x4=7 16x1+x2-6x3 3x1-x2-x3 x1,x2,x3,x4 >=0

Write a procedure to obtain the inverse of a matrix, Write a procedure to o...

Write a procedure to obtain the inverse of an n by n matrix usingGaussian elimination. (You cannot use A - 1 or any of the built-in packages like 'MatrixInverse'.) Output any a

Algebra, how do i sole linear epuation

how do i sole linear epuation

Plane and solid mensuration, the area of a triangle is 20 and its base is 1...

the area of a triangle is 20 and its base is 16. Find the base of a similar triangle whose area is 45. Given is a regular pentagon. Find the measure of angle LHIK.

Linear programming , Use the simplex method to solve the following LP Probl...

Use the simplex method to solve the following LP Problem. Max Z = 107x1+x2+2x3 Subject to 14x1+x2-6x3+3x4=7 16x1+x2-6x3 3x1-x2-x3 x1,x2,x3,x4 >=0

Simpson rule - approximating definite integrals, Simpson's Rule - Approxima...

Simpson's Rule - Approximating Definite Integrals This is the last method we're going to take a look at and in this case we will once again divide up the interval [a, b] int

Calculus Homework, Find the slope of the line tangent to the graph of f(x)=...

Find the slope of the line tangent to the graph of f(x)= 3-2ln(2x^2+4) at the point (4, F(4))

Homework, How do you simplify 10:30:45

How do you simplify 10:30:45

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd