function boundary_segment_num = p02_boundary_segment_num ( DUMMY ) %% P02_BOUNDARY_SEGMENT_NUM counts the boundary segments in problem 02. % % Modified: % % 07 February 2006 % % Author: % % John Burkardt % % Reference: % % Per-Olof Persson and Gilbert Strang, % A Simple Mesh Generator in MATLAB, % SIAM Review, % Volume 46, Number 2, June 2004, pages 329-345. % % Parameters: % % Output, integer BOUNDARY_SEGMENT_NUM, the number of boundary segments. % boundary_segment_num = 2;