Double Integration using ode solvers

Double Integration using ode solvers - Messaggi

#1 Pubblicato: 04/06/2020 01:40:08
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. This worksheet shows how to use an ode solver for evaluating a double integral over the region between two functions.

DoubleIntegralRK.sm (42,67 KiB) scaricato 1450 volta(e).
DoubleIntegralRK.pdf (219,12 KiB) scaricato 1015 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
frapuano 04/06/2020 04:03:00, sergio 04/06/2020 04:42:00
#2 Pubblicato: 07/06/2020 13:21:46
SteelCat

SteelCat

3 apprezzamenti in 47 post.

Gruppo: User

Thanks Alvaro for your example.

Can the change of variable be put in the procedure definition?
Physics is like sex. Sure, it may give some practical results, but that’s not why we do it. (R. Feynman)
#3 Pubblicato: 07/06/2020 19:50:25
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Can the change of variable be put in the procedure definition,?


Like this: yes, just opposite plot.

Double Switch [x, L].sm (6,33 KiB) scaricato 1166 volta(e).

#4 Pubblicato: 17/06/2020 20:21:22
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. This is the double integral using Gauss Legendre quadrature.

GaussLegendreQuadrature.sm (60,58 KiB) scaricato 1448 volta(e).
GaussLegendreQuadrature.pdf (160,77 KiB) scaricato 1023 volta(e).

Best regards.
Alvaro.

Wrote

...
Can the change of variable be put in the procedure definition?



Yes.

DoubleIntegralSteelCat.sm (47,08 KiB) scaricato 1416 volta(e).
DoubleIntegralSteelCat.pdf (105,49 KiB) scaricato 837 volta(e).
2 utenti hanno apprezzato questo post
sergio 18/06/2020 05:14:00, frapuano 18/06/2020 07:33:00
#5 Pubblicato: 18/06/2020 11:26:19
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Keisan has longer Legendre than 64, but couldn't copy/paste ?
From other source: 63, 64.

Integrate Legendre [ Wr 24 ].sm (28,98 KiB) scaricato 1195 volta(e).
#6 Pubblicato: 18/06/2020 21:35:42
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

Keisan has longer Legendre than 64, but couldn't copy/paste ?
From other source: 63, 64.

Integrate Legendre [ Wr 24 ].sm (28,98 KiB) scaricato 1195 volta(e).



Hi Jean. Yes, can copy and paste. Do that first into excel, and from there to the small SMathMatrixEditor and finally paste in SMath.

In the attached Laguerre and Legendre coeffs for the Gauss method.

DoubleIntegralJean.sm (25,63 KiB) scaricato 1383 volta(e).
DoubleIntegralJean.pdf (45,11 KiB) scaricato 934 volta(e).

Best regards.
Alvaro
2 utenti hanno apprezzato questo post
sergio 19/06/2020 05:41:00, frapuano 19/06/2020 09:34:00
#7 Pubblicato: 20/06/2020 07:39:28
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Hi Jean. Yes, can copy and paste.


Thanks, Amigo !
  • Nuovi post
  • Nessun nuovo post