A tree farmer plants five new trees on his farm at the end o…

A tree farmer plants five new trees on his farm at the end of each month. Let an​ denote the total number of trees he has after n months. Initially, he has a0=50 trees. a) What is a10​? [4 Points]   b) If the farmer spends $3 per month to maintain each tree, what is the total maintenance cost he has paid after 1 year (12 months)? Provide the closed-form mathematical expression for this amount (do not calculate the actual value).(Assume that he starts maintaining trees at the beginning of each month and includes all existing trees for that month.) [6 points]  

Suppose you have a sorted array of integers (3,7,12,15,18,21…

Suppose you have a sorted array of integers (3,7,12,15,18,21,27,33,39,42,50) and you want to implement the binary search algorithm given below to find the index of a target value x. For each target value x given below, give the values for variables low and high for each call to Binary Search. Then give the final return value.    a)  x=12 b) x = 32