Question: DO NOT ANSWER THIS QUESTION WITHOUT MATLAB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! USE MATLAB TO PLOT THIS PROBLEM HERE IS MY MATLAB CODE. USE IT AND FIX IT TO MATCH

DO NOT ANSWER THIS QUESTION WITHOUT MATLAB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

USE MATLAB TO PLOT THIS PROBLEM

DO NOT ANSWER THIS QUESTION WITHOUT MATLAB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! USE MATLAB TO PLOT THIS

PROBLEM HERE IS MY MATLAB CODE. USE IT AND FIX IT TO

HERE IS MY MATLAB CODE. USE IT AND FIX IT TO MATCH THE ANSWER GRAPH

clc

clear all

x = -2:1:2;

for n = 1:40

Cn = (2*pi)*(cos(n*pi) + 1);

F = Cn*sin(n*pi*x/2);

end

figure(1)

plot(x,F);

xlabel('x')

ylabel('y')

set(gca,'XAxisLocation','origin','YAxisLocation','origin')

THE SUPPOSED ANSWER

MATCH THE ANSWER GRAPH clc clear all x = -2:1:2; for n

In each of Problems 1-6, find the expansion of f(x) in the eigenfunctions of the given Sturm-Liouville problem. Compare graphs of the function and the N th partial sums of the series for the given N. Also use the convergence theorem to determine what this eigenfunction expansion converges to on the relevant open interval. y+y=0;y(0)=y(4)=0f(x)={11for0x2for2

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!