...
Step 5: Calculate the area of each row and put that information into an array. Sample outputs for the height and area arrays are also show below.
Step 6: Determine the fewest number of holes by dividing the entire row area by the area of one hole with a diameter equal to the row spacing and rounding to an integer number of holes.
Step 7: Calculating the area of the optimal orifices for each row based on the rough number calculated in the previous step.
Step 8: Calculate the diamter of the optimal diameter of orifices for each row.