1. The problem statement, all variables and given/known data My son is working on a school-related project. He is being asked how to compute the average of both systolic and diastolic (heart rate) values. The assignment eludes to averaging measurements over an entire wave form (visualize a heart rate monitor you'd see on ER). The systolic values would be the peak values on a graph whereas the distolic values would be the non-peak values. He needs to be able to disregard minor blips between the actual high and low values. What type of formula/algorithm would work for determining the average of these wave forms? 2. Relevant equations I am sorry, I don't have anything to provide. 3. The attempt at a solution My son has created an algorithm within his computer model, but it doesn't identify and disregard the "blips" that occur inbetween the actual high and low values. Any help with this would be appreciated......I am simply attempting to help my son while he catches up on some sleep...he's been working for hours/days on his program. Thank you!