14. Flow Chart for the 1D example