**Question:**

Suppose we wish to perform a trace of the algorithm that squares each element in a finite sequence (algorithm is provided below) for the list 2, -1, -2. When we execute the “for” loop for i = 1, we would obtain a1 = a1 x a1 = 2 x 2 = 4.

**Answer:**

**Need Help with other College Math Questions?** Download Intellecquity **Now!**