Professional Documents
Culture Documents
Lecture 5 6
Lecture 5 6
Lecture 5 6
Assignment
Lecture: 5
Problem: 3
Wave Equation and initial conditions
For the initial velocity condition we consider the fourier sine series:
For the initial velocity condition g(x), we consider the fourier sine series:
The series expansion involving the sine and cosine functions can be used:
2|Page
Using the given relation:
Proof
Using the trigonometric identity in the context of the wave equation, we can show that:
Using the given relation g(x) and expanding it using the fourier series completes the proof.
Conclusion:
We've shown that the result to the surge equation with the given original conditions can be
expressed in the specified form, and we've used the Fourier series to corroborate the
expressions involved. This concludes the result and evidence for the problem.
3|Page
Problem: 4
a) Separation of variables
Given the damped wave equation:
Where
4|Page
Boundary Conditions:
Applying
Thus,
Aplying
Thus;
So,
5|Page
Solving for U(t)
This is a second order linear differential equation with constant coefficients. The characteristic
equation is :
Let
c) Initial Conditions
Given:
6|Page
For
So;
Using
Using
Thus:
7|Page
MATLAB Code:
8|Page
9|Page
10 | P a g e
Lecture: 6
Problem: 1
a) Eigenvalue problem:
At x=1:
Since
This implies:
11 | P a g e
2. Series representation of
Represent as a series in terms of eigenfunctions
Where
Put
12 | P a g e
Problem: 2
4. Since
5. Therefore:
Since
13 | P a g e
b) MATLAB Code:
14 | P a g e
c) First Eigenfunction:
The eigenfunctions corresponding to the eigenvalues are the solutions to the boundary
value problem.
The eigenvalues are;
d) Approximation
Given the boundary conditions and initial conditions, the solution can be written as:
15 | P a g e
Problem: 3
1. Separation of variables:
We use separation of variables,
The PDE becomes:
2. Solving for
The general solution for
Thus,
2.
Eigenfunctions:
3. Solving for
16 | P a g e
The ODE for
4. Initial Condition
Given we expand this in terms of eigenfunctions:
Part b
17 | P a g e
18 | P a g e