<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I am trying to do a recursive analysis on the Sum of even numbers function. So far I have already defined the function. I have found the base case. The hard part is finding the
non-recursive definition. I'm having trouble of what non-recursive definition even means.
<div><br>
</div>
<div>
<div>Step 1 - Base case: sumEven(N) = 2, if N = 1</div>
<div><br>
</div>
<div>Step 2 - Non-recursive definition =</div>
<div><br>
</div>
<div>(define sumEven</div>
<div> (lambda (N)</div>
<div> (cond((= N 1) 2)</div>
<div> ((> N 0) (*(+ N 1)N)))))</div>
</div>
</div>
</body>
</html>