Double Integration using ode solvers

Double Integration using ode solvers - Messages

#1 Posted: 6/4/2020 1:40:08 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,005 likes in 1,677 posts.

Group: 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 KiB) downloaded 184 time(s).
DoubleIntegralRK.pdf (219 KiB) downloaded 201 time(s).

Best regards.
Alvaro.
2 users liked this post
frapuano 6/4/2020 4:03:00 AM, sergio 6/4/2020 4:42:00 AM
#2 Posted: 6/7/2020 1:21:46 PM
SteelCat

SteelCat

3 likes in 47 posts.

Group: 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 Posted: 6/7/2020 7:50:25 PM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: 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 KiB) downloaded 130 time(s).

#4 Posted: 6/17/2020 8:21:22 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,005 likes in 1,677 posts.

Group: User

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

GaussLegendreQuadrature.sm (60 KiB) downloaded 147 time(s).
GaussLegendreQuadrature.pdf (160 KiB) downloaded 164 time(s).

Best regards.
Alvaro.

Wrote

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



Yes.

DoubleIntegralSteelCat.sm (47 KiB) downloaded 151 time(s).
DoubleIntegralSteelCat.pdf (105 KiB) downloaded 142 time(s).
2 users liked this post
sergio 6/18/2020 5:14:00 AM, frapuano 6/18/2020 7:33:00 AM
#5 Posted: 6/18/2020 11:26:19 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

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

Integrate Legendre [ Wr 24 ].sm (28 KiB) downloaded 142 time(s).
#6 Posted: 6/18/2020 9:35:42 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,005 likes in 1,677 posts.

Group: User

Wrote

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

Integrate Legendre [ Wr 24 ].sm (28 KiB) downloaded 142 time(s).



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 KiB) downloaded 151 time(s).
DoubleIntegralJean.pdf (45 KiB) downloaded 152 time(s).

Best regards.
Alvaro
2 users liked this post
sergio 6/19/2020 5:41:00 AM, frapuano 6/19/2020 9:34:00 AM
#7 Posted: 6/20/2020 7:39:28 AM
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Hi Jean. Yes, can copy and paste.


Thanks, Amigo !
  • New Posts New Posts
  • No New Posts No New Posts