I am writing an application that will calculate the total volume of a person's leg.
i'll explain ...
the app is for a physical therapist who deals with patients who have swelling in the limbs (arms and legs). she measures from the ankle up to the upper thigh (legs) or wrist to armpit.
she takes measurements every 4 cm and records the data.
my challenge is that most of the formulas ive found have a finite number of data points...ie: base, top, distance
she will need to calculate anywhere from 4 to 20 data points
in this example, the base (b1) is 23.3, top (t1) is 55.5, distance (d1) is 56cm and we have 15 data points
23.3, 23.7, 25.4, 28.2, 31.5, 34.3, 35.7, 36, 37.5, 43.9, 44.8, 46.1, 49.2, 51.4, 55.5
clear as mud?