Question: Write a program to calculate the value of f(x), the values of x and n are determined by user and is the average of x.
Write a program to calculate the value of f(x), the values of x and n are determined by user and is the average of x. For example, n=8 x1 = x [0] + x[1] + x[2], where x is series of value in data set (x[i]). (10 marks) 72 f(x) = V] + 2x[i] ++ 1=1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
