We have given the number of successes and the sample size for a simple random sample from a population. In each case, do the following tasks.(a) Determine the sample proportion. (b)decide whether using the one-proportion z-interval procedure is appropriate.(c) If appropriate, use the one-proportion z-interval procedure to find the confidence interval at the specified confidence level.x=40,n=50,95% level.x=3,n=100,99% level.