Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

image text in transcribed

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. 1. y+y=0;y(0)=y(2)=0 f(x)=1xfor0x2,N=40 cn=1n2cos(n)+n2=n2(1+(1)n) Thus, the Eigen function expansion is given by n=1n2(1+(1)n)sin(2nx)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

Students also viewed these Databases questions

Question

Distinguish between supervised and unsupervised learning models.

Answered: 1 week ago