NUMERICAL METHODS DISCRETISATION PROBLEM

1 view (last 30 days)
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
Chijioke  Nkwocha
Chijioke Nkwocha on 28 May 2021
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)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 28 May 2021
Hi,
You can employ pdepe()
  1 Comment
Chijioke  Nkwocha
Chijioke Nkwocha on 28 May 2021
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
Chijioke  Nkwocha
Chijioke Nkwocha on 30 May 2021
Please can you write the full code to explain this better? Thanks.

Sign in to comment.

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!