Solving Cauchy problem for first order PDE

36 ビュー (過去 30 日間)
Akansha Mittal
Akansha Mittal 2017 年 2 月 12 日
コメント済み: naren BORO 2022 年 6 月 30 日
How to solve the following Cauchy problem using MATLAB: x*U_x + y*U_y = U+1; U(x,y)= x^2 on y= x^2
I was trying using the following command: dsolve('Dx=x','Dy=y','Du=u+1');
But the problem is how to apply Cauchy data? Please advice.
  2 件のコメント
John D'Errico
John D'Errico 2017 年 2 月 12 日
What Cauchy data? You have not shown any data.
As well, you might also explain what you intended by the expression:
U+!
Akansha Mittal
Akansha Mittal 2017 年 2 月 13 日
Sorry it is edited now

サインインしてコメントする。

回答 (1 件)

Torsten
Torsten 2017 年 2 月 13 日
編集済み: Torsten 2017 年 2 月 13 日
There is no ready-to-use MATLAB program to solve this kind of problem.
I suggest you look up "method-of-characteristics". Your PDE can be solved analytically.
Best wishes
Torsten.
  3 件のコメント
Torsten
Torsten 2017 年 2 月 13 日
編集済み: Torsten 2017 年 2 月 13 日
Don't know if it works, but you'll see how to proceed:
syms x(s) y(s) u(s) X0
[solx,soly,solu] = dsolve(diff(x,s)==x, diff(y,s)==y, diff(u,s)==u+1, x(0)==X0, y(0)==X0^2, u(0)==X0^2);
[X0sol,ssol]=solve([solx==x,soly==y],[X0,s]];
subs(solu,[X0,s],[X0sol,ssol])
Best wishes
Torsten.
naren BORO
naren BORO 2022 年 6 月 30 日
programming is not correct

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by