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 Comment

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

Sign in to comment.

Answers (2)

Hi,
You can employ pdepe()

1 Comment

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.

Sign in to comment.

Torsten
Torsten on 29 May 2021
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.

1 Comment

Please can you write the full code to explain this better? Thanks.

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2021a

Asked:

on 28 May 2021

Commented:

on 30 May 2021

Community Treasure Hunt

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

Start Hunting!