Mercurial > octave-nkf
diff doc/interpreter/quad.txi @ 19630:0e1f5a750d00
maint: Periodic merge of gui-release to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:24:46 -0500 |
parents | 0850b5212619 446c46af4b42 |
children | 4197fc428c7d |
line wrap: on
line diff
--- a/doc/interpreter/quad.txi Tue Jan 20 09:55:41 2015 -0500 +++ b/doc/interpreter/quad.txi Tue Jan 20 10:24:46 2015 -0500 @@ -6,12 +6,12 @@ @c under the terms of the GNU General Public License as published by the @c Free Software Foundation; either version 3 of the License, or (at @c your option) any later version. -@c +@c @c Octave is distributed in the hope that it will be useful, but WITHOUT @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License @c for more details. -@c +@c @c You should have received a copy of the GNU General Public License @c along with Octave; see the file COPYING. If not, see @c <http://www.gnu.org/licenses/>. @@ -169,7 +169,7 @@ which to perform an integration. This can occur when collecting data in an experiment. The @code{trapz} function can integrate these values as shown in the following example where "data" has been collected on the cosine function -over the range [0, pi/2). +over the range [0, pi/2). @example @group @@ -181,7 +181,7 @@ @end example The answer is reasonably close to the exact value of 1. Ordinary quadrature -is sensitive to the characteristics of the integrand. Empirical integration +is sensitive to the characteristics of the integrand. Empirical integration depends not just on the integrand, but also on the particular points chosen to represent the function. Repeating the example above with the sine function over the range [0, pi/2) produces far inferior results.