blob: e620064552b3d3ba5db08968d5c5ffaf54d06b58 (
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
26
27
28
|
.TH INTEG 3M
.SH NAME
integ
.SH DESCRIPTION
subroutine integ.f
source
Bevington, page 274.
purpose
integrate the area beneath two data points
usage
call integ (x, y, nterms, i1, x1, x2, sum)
description of parameters
x - array of data points for independent variable
y - array of data points for dependent variable
nterms - number of terms in fitting polymonial
i1 - first data point for fitting polynomial
x1 - first value of x for integration
x2 - final value of x for integration
subroutines and function subprograms required
none
comments
valid for nterms up to 10
|