联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Matlab编程Matlab编程

日期:2018-11-27 10:58

Extra Credit Problem

Math 110A

October 16, 2018

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.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp