How to solve a Partial Differential Ecuation?

4 views (last 30 days)
I am a very new person using matlab, I want to know how to solve a PDE such as WhatsApp Image 2019-02-10 at 18.15.39.jpegusing matlab software. In addition, it will be very usefull if you can also told me how to solve it as a part of a Cauchy's problem with an initial condition or with some boundary conditions.
Thank you.

Accepted Answer

Torsten
Torsten on 12 Feb 2019
Edited: Torsten on 12 Feb 2019
The code at the end of the link solves a single equation.
MATLAB does not have the ability to symbolically solve PDEs. If you write down the ODEs for your problem that come from the method of characteristics, you might succeed using MATLAB's "dsolve".
The equations are
du/ds = u
dx/ds = x+x^2
dt/ds = 1
with u = u(x(s),t(s))
You will have to define your boundary conditions to get a unique solution.
Best wishes
Torsten.

More Answers (1)

Torsten
Torsten on 11 Feb 2019
  1 Comment
José Luis Lavado Sánchez
But this for solving a sistem of equations no? I want to know how to solve only one equation. And also I think the link is about a numerical solution and I am searching for a symbolic solution.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!