A function f is defined as:
f(n) = n if n < 4
and
f(n) = 2f(n − 1) + 3f(n − 3) + 4f(n − 5) if n ≥ 4.
.
It asks us to implement two functions...
1) One where it has a recursive function with a recursive process
2) Another where it has a recursive function with an iterative process
I searched online for explanations of the iterative process, and I do understand it well. For further context, here is a link to another StackOverflow question where the community explains it really well (with a similar problem): No idea how to solve SICP exercise 1.11
My issue is applying the iterative process concept to this particular question, I can't seem to do it as maybe my understanding isn't as good as it seems. I have a recursive process solution to this question (below), just having a lot of trouble converting it to an iterative (tail-end) process.
If anyone knows anything about iterative processes or could provide a solution to this question (Preferably in Scheme Dr. Racket), I would find it extremely helpful.