Can MATLAB solve a integrodifferential equation?

1 Ansicht (letzte 30 Tage)
Sergio Manzetti
Sergio Manzetti am 20 Nov. 2017
Kommentiert: GNANASEKARAN S am 24 Mai 2022
Hi, I have checked some posts on the forum, however to no avail.
I have the given system:
{
syms h g x C
h = 2
g = 4
C = 1/sqrt(2.*pi)
y = ((exp(2.*g.*i.*x./h)).*(((h.^2)./2) + (g.*x)/2.*h.*i));
z = ((exp(-2.*g.*i.*x./h)).*(((h.^2)./2) + (g.*x)/2.*h.*-i));
[int(y.*z*.u, x], 0, 2.*pi)]==1
} which should solve for u. Is it feasible with some modifications?
Thanks

Akzeptierte Antwort

Torsten
Torsten am 20 Nov. 2017
u = 1/int(y*z,x,0,2*pi)
Best wishes
Torsten.
  21 Kommentare
Sergio Manzetti
Sergio Manzetti am 6 Dez. 2017
Thanks Torsten!
GNANASEKARAN S
GNANASEKARAN S am 24 Mai 2022
Dear Torsten,
I have the source term of the form u(1-int u) in two dimension. How to write the FDM code? Could you please tell.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by