NUMERICAL METHODS DISCRETISATION PROBLEM

Can anyone, perhaps, assist with "1c" below? I have done the part a, but dont know how to go about the boundary conditions required for part c. Your help will be appreciated.

1 个评论

Below is the code i have written for part a, but i need to modify it for part c.

请先登录,再进行评论。

回答(2 个)

Hi,
You can employ pdepe()

1 个评论

Hello!
I may not really understand you as i am just trying to figure things out gradually on matlab. Could you please do this in the code i already wrote for better understaning? Thanks.

请先登录,再进行评论。

Torsten
Torsten 2021-5-29
Solve
-Δv = -5/4*π^2*sin(π*x)*cos(π*y/2)
by just modifying the b-vector from exercise part a).
Let the solution be v.
Then add
w(x,y) = sin(π*x)*cos(π/2*y)
to the solution v to get u.

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

产品

版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by