1. Calculate the sum of an array of n integers. (15 points) 2. Compute Powers, p(x,n)=xn (15 points) 3. Revers an Array of n integers (15 points) 4. Calculate the length of string (number of characters) (25 points) 5. Implement the tail recursion for problems 1 and 2. (30 points) Please test your program by using 2 different input sets!