write program that finds the average of series of numbers entered by the user as in the previous problemthe program will first ask the user how many numbers there are notethe average should always be floateven if the user inputs are all ints write program that approximates the value of by summing the terms of this series / / / / / / the program should prompt the user for nthe number of terms to sumand then output the sum of the first terms of this series have your program subtract the approximation from the value of math pi to see how accurate it is fibonacci sequence is sequence of numbers where each successive number is the sum of the previous two the classic fibonacci sequence begins write program that computes the nth fibonacci number where is value input by the user for exampleif then the result is you have seen that the math library contains function that computes the square root of numbers in this exerciseyou are to write your own algorithm for computing square roots one way to solve this problem is to use guess-and-check approach you first guess what the square root might be and then see how close your guess is you can use this information to make another guess and continue guessing until you have found the square root (or close approximation to itone particularly good way of making guesses is to use newton' method suppose is the number we want the root of and guess is the current guessed answer the guess can be improved by using guessguess as the next guess write program that implements newton' method the program should prompt the user for the value to find the square root of (xand the number of times to improve the guess starting with guess value of / your program should loop the specified number of times applying newton' method and report the final value of guess you should also subtract your estimate from the value of math sqrt(xto show how close it is