0% found this document useful (0 votes)
19 views2 pages

m314w24 hw1

This document provides information for the first homework assignment in MATH 314: Fourier Methods & PDEs. It includes an introduction to the course, reading assignments from the textbook, and two problems to complete and submit. Problem I involves solving ordinary differential equations and linear algebra questions from the textbook. Problem II asks students to run and modify a MATLAB code to plot a cosine series for 20 ≤ N ≤ 50 and include the plotted figure with their name in the title. Optional parts ask about properties of the plotted cosine series.

Uploaded by

fpbmfkh5mt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

m314w24 hw1

This document provides information for the first homework assignment in MATH 314: Fourier Methods & PDEs. It includes an introduction to the course, reading assignments from the textbook, and two problems to complete and submit. Problem I involves solving ordinary differential equations and linear algebra questions from the textbook. Problem II asks students to run and modify a MATLAB code to plot a cosine series for 20 ≤ N ≤ 50 and include the plotted figure with their name in the title. Optional parts ask about properties of the plotted cosine series.

Uploaded by

fpbmfkh5mt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MATH 314: Fourier Methods & PDEs

Spring 2024

Homework Set 1 Due: Thursday, January 18 (11:59pm)

Review of ODEs and Linear Algebra; Matlab Introduction

• Course information is on Canvas: http://canvas.sfu.ca

• Textbook references are to:


[G] Mark S. Gockenbach
“Partial Differential Equations: Analytical and Numerical Methods” (2nd edition).

Notes:
Welcome to Math 314!
For this introductory homework set, you are asked to remind yourself of some essential concepts concerning
ordinary differential equations (ODEs) and linear algebra. A useful review of the ODE material pertinent
to this course is in [G] Chapter 4 (especially §4.1–4.3.1); of course you could also consult an ODE text such
as Boyce, DiPrima & Meade.
There is also a Matlab question, designed simply to get you to try Matlab—if you have not previously done
so—and produce an elementary plot (albeit one which will be relevant later in the course. . . ).

Reading:
• [G] Chapter 1: Introduction — Classification of DEs, review of terminology
• [G] Chapter 4 — §4.1: ODEs: background; §4.2: Solutions to some simple ODEs; §4.3:
Linear systems with constant coefficients

Problems to hand in:

I. Textbook Questions:

• [G] Section 4.2: # 16


(pp.93–97) Euler (equidimensional) ODEs

• [G] Section 4.3: #4


(pp.108–110) System of ODEs, eigenvalues and eigenvectors
Verify that the matrix A has real eigenvalues and orthogonal eigenvectors; is there
a reason you might have expected this?

• [G] Section 3.2: # 4(a,b)


(pp.50–52) Existence and uniqueness of solutions of Ax = b
If A is singular, and b is a vector for which Ax = b has a solution, write down
the most general solution.

1
II. Additional Questions:
Also submit a solution to the following problem:

1. Matlab plot:
Matlab is a computing environment which may be used both interactively and by running
pre-programmed scripts (m-files). Plotting is simple.
As a first example, download hw1code.m from the class Canvas site (Assignments page). This
is a script which was used to generate the plot shown below, for the function
N
2 X 1 − (−1)n  nπx 
FN (x) = sin
π n=1 n L
with L = 1 and N = 6.
Open the file hw1code.m in Matlab and run it; then “play around” by editing the script to see
how it works (if you mess up the file too badly, just download a new copy. . . ). In particular,
experiment with changing N ; what do you observe as N increases? (You do not need to write
down anything about your observations at this point; we will return to this later.)

For submission:
Make the minor modifications to the code needed to plot the cosine series (L = 1)
N
1 2 X (−1)n − 1
FN (x) = + 2 cos nπx .

2 π n=1 n 2

Submit a printout of the figure generated by your code for your choice of N (with 20 ≤ N ≤
50); be sure to include your name in the title of the figure.

[Optional, for interest:


(a) Show that the above cosine series is equivalent to
⌊(N +1)/2⌋
1 4 1
cos (2k − 1)πx ,
X 
− 2
2 π k=1
(2k − 1)2

where ⌊·⌋ denotes the floor function (rounding down: ⌊x⌋ is the largest integer ≤ x).
(b) To which function do you think this series converges for large N ?]

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy