Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Read as much of Chapter 8 as necessary to solve the following problem.
Chapter 8.3 is the main part you will need probably.
1. Write a matlab code to solve the linear wave equation
ttuxxu = 0
u(x, 0) = φ(x), ut(x, 0) = 0
numerically with φ(x) = sin(x), φ(x) = exp(x2), and φ(x) = 1
x2+1 (each
separately). Plot the solutions as a function of time. Include plots of the
solutions at 200 equally spaced times in the time interval t ∈ [0, 10].
2. Write a matlab code to solve the nonlinear wave equation
ttu xxu + u
5 = 0.
u(x, 0) = sin(x) ut(x, 0) = 0
Plot the solutions as a function of time. Include plots of the solutions at
200 equally spaced times in the time interval t ∈ [0, 10].
Successful completion of Task 1 will receive credit equal to 1/4 of a homework
assignment. Successful completion of Task 2 will lead to credit equal to 3/4 of
a homework assignment. Any student who solves one or both of these tasks
should contact the professor to discuss how to send the solutions.
Warning: Any sort of academic dishonesty will lead to all parties involved
receiving a 0 on this assignment.