Question: Help with part 3 and 4 python codes only. P.S. the range should be -1 1. Consider the function sin(atz). Using Fourier's trick for Legendre

 Help with part 3 and 4 python codes only. P.S. the

Help with part 3 and 4 python codes only. P.S. the range should be -1 1. Consider the function sin(atz). Using Fourier's trick for Legendre polynomials, find the first two coefficients of the expansion (ao and ai). You may use an integration tool of your choosing, but show how you setup the integrals. Hint: Wolfram Alpha has a builtin function for Legendre Polynomials called legendreP(n,x) where n is the order of the polynomial and x is the independent variable. 2. Now find the first ten coefficients. No need to set up, you quote your results from your integrator. 3. Parts 3 and 4 should appear in a Jupyter notebook of your own making. Plot the original function along with successive approximations from n = 0 to n = 9 from -1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!