Finding the area below a specific range on a graph

How do I find the area under a specific range of data points on the x axis?

The most precise way to determine the area under a range of values for the x-values on a graph is to filter the values using a logical test.

For instance, if attempting to find the area under the graph of force vs time from the range of 3 seconds to 4 seconds, the following syntax can be used within Capstone.

‎filteredforce‎=[Force (N)‎]*(timeof([Force (N)‎])>1.9999)*(timeof([Force (N)‎])<3.00001)

The term (timeof([Force (N)‎])>1.9999) returns a zero below 2 s, and the term (timeof([Force (N)‎])<3.00001) returns a value of 0 above 3.  This restrict data between 2 s and 3 s to the values within the original force measurement.  All other values of time are forced to zero and do not contribute to the area under the curve.

The following graphic shows the display of the original data and the filtered data.


For further assistance, please contact Technical Support at support@pasco.com, through chat on this site during our business hours, or through our web form. Tech Support can also be reached by phone at 1-800-772-8700.