single tick of length interval with central tick length with each recursive callthe length decreases by one when the length drops to zerowe simply return as resultthis recursive process will always terminate this suggests recursive processin which the first and last steps are performed by calling the drawticks( recursively the middle step is performed by calling the function drawonetick(lthis recursive formulation is shown in code fragment as in the factorial examplethe code has base case (when in this instance we make two recursive calls to the function code fragment recursive implementation of function that draws ruler illustrating ruler drawing using recursion trace the recursive execution of the recursive drawticks functiondefined abovecan be visualized using recursion trace