aboutsummaryrefslogtreecommitdiff
path: root/math/bevington/man/integ.3m
diff options
context:
space:
mode:
Diffstat (limited to 'math/bevington/man/integ.3m')
-rw-r--r--math/bevington/man/integ.3m28
1 files changed, 28 insertions, 0 deletions
diff --git a/math/bevington/man/integ.3m b/math/bevington/man/integ.3m
new file mode 100644
index 00000000..e6200645
--- /dev/null
+++ b/math/bevington/man/integ.3m
@@ -0,0 +1,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