Mercurial > octave
diff scripts/general/quad2d.m @ 27956:2310164737b3 stable
fix many spelling errors (bug #57613)
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 17 Jan 2020 13:15:27 -0600 |
parents | 00f796120a6d |
children | c20b7290c778 |
line wrap: on
line diff
--- a/scripts/general/quad2d.m Fri Oct 18 17:24:37 2019 -0700 +++ b/scripts/general/quad2d.m Fri Jan 17 13:15:27 2020 -0600 @@ -248,7 +248,7 @@ ## dx = - (a - b) * sin(t) / 2 dt ## Now our integral is ## \int_a^b \int_0^1 f(x,y) dydx - ## as we already subsitute for "y", so + ## as we already substitute for "y", so ## gx(tx) = ((a - b) * cos(tx) + (a + b)) / 2 ## gy(ty) = (1 - cos(ty)) / 2 ## dydx = (b - a) * sin(tx) * sin(ty) / 4 dtydtx