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 commentaire

Chijioke  Nkwocha
Chijioke Nkwocha le 28 Mai 2021
Below is the code i have written for part a, but i need to modify it for part c.

Connectez-vous pour commenter.

Réponses (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 28 Mai 2021

0 votes

Hi,
You can employ pdepe()

1 commentaire

Chijioke  Nkwocha
Chijioke Nkwocha le 28 Mai 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.

Connectez-vous pour commenter.

Torsten
Torsten le 29 Mai 2021

0 votes

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 commentaire

Chijioke  Nkwocha
Chijioke Nkwocha le 30 Mai 2021
Please can you write the full code to explain this better? Thanks.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Produits

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by