How do I write $sin(pi*x)*sin(pi*y)?

4 visualizzazioni (ultimi 30 giorni)
kaps
kaps il 29 Mar 2021
Modificato: kaps il 29 Mar 2021
I tried to solve on and on the boundary.
I get error when I write . Can anyone help in the following code?
model = createpde;
g = geometryFromEdges(model,@squareg);
pdegplot(model)
pdegplot(model,'EdgeLabels','on');
axis equal
applyBoundaryCondition(model,'dirichlet','Edge',1:model.Geometry.NumEdges,'u',0);
specifyCoefficients(model,'m',0,'d',0,'c',1,'a',0,'f',sin(pi*x)*sin(pi*x));

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by