NUMERICAL METHODS DISCRETISATION PROBLEM

1 Ansicht (letzte 30 Tage)
Chijioke  Nkwocha
Chijioke Nkwocha am 28 Mai 2021
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 Kommentar
Chijioke  Nkwocha
Chijioke Nkwocha am 28 Mai 2021
Below is the code i have written for part a, but i need to modify it for part c.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov am 28 Mai 2021
Hi,
You can employ pdepe()
  1 Kommentar
Chijioke  Nkwocha
Chijioke Nkwocha am 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.

Melden Sie sich an, um zu kommentieren.


Torsten
Torsten am 29 Mai 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 Kommentar
Chijioke  Nkwocha
Chijioke Nkwocha am 30 Mai 2021
Please can you write the full code to explain this better? Thanks.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by