CFM (cubic feet per minute) in duct design is primarily determined by: