Borrar filtros
Borrar filtros

Can MATLAB solve a integrodifferential equation?

1 visualización (últimos 30 días)
Sergio Manzetti
Sergio Manzetti el 20 de Nov. de 2017
Comentada: GNANASEKARAN S el 24 de Mayo de 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

Respuesta aceptada

Torsten
Torsten el 20 de Nov. de 2017
u = 1/int(y*z,x,0,2*pi)
Best wishes
Torsten.
  21 comentarios
Sergio Manzetti
Sergio Manzetti el 6 de Dic. de 2017
Thanks Torsten!
GNANASEKARAN S
GNANASEKARAN S el 24 de Mayo de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by