aboutsummaryrefslogtreecommitdiff
path: root/math/bevington/man/area.3m
blob: 1505ef4df6f79376102b2bb58377509368fe76ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH AREA 3M
.SH NAME
area
.SH DESCRIPTION
function area.f

source
  Bevington, pages 272-273.

purpose
  integrate the area beneath a set of data points

usage
  result = area (x, y, npts, nterms)

description of parameters
  x      - array of data points for independent variable
  y      - array of data points for dependent variable
  npts   - number of pairs of data points
  nterms - number of terms in fitting polynomial

subroutines and function subprograms required
  integ (x, y, nterms, i1, x1, x2 sum)
    fits a polynomial with nterms starting at i1
      and integrates area from x1 to x2