Write a program that uses the rand_ float function developed in chapter 5 to generate two sequences of 500 points each sequence should have a theoretical mean of 4 but one sequence should have a variance of 0.5 and the other should have a variance of 2. check the computed means and compare to the theoretical means (hint use the two previous equations to write two equations with two unknowns then solve for the unknowns by hand.)
eq.1) variance....c^2=(b-a)^2/12
eq.2)mean....d=(a+b)/2