|
Test case (data is embedded in program data statements):
Data Peak Finder Using Least Squares equally spaced points
Number of points to input? 20 Use keyboard (k) or read from data (d)? d Chose mode: 1. Absolute max and min. 2. Calculated max and min. 3. Quit.
(1,2,3) 1
Max= 116.442724 at x= 5.77457627
(1,2,3) 2
Max= 116.442724 at x= 5.77457627
Min= 95.3015584 at x= 8.93636364
Max= 104.733889 at x= 11.5444444
(1,2,3) 3
|