Check the computed means and compare to the theoretical


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

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Check the computed means and compare to the theoretical
Reference No:- TGS0646655

Expected delivery within 24 Hours