Flowchart-assisted function analysis of products to support teaching of the exact sciences