Question: O Type here to search Note: For the exercises below, use the given rng umber (a) Enter the MATLAB code below, which simulates the sum

 O Type here to search Note: For the exercises below, use

O Type here to search Note: For the exercises below, use the given rng umber (a) Enter the MATLAB code below, which simulates the sum of 20 of two dice. random toses >>mgO), x randic E1.6).2.20), sum(x) What percent of the sums are showing your calculation. 7, 8 or 9? Compare to the expected probability Simulated result % Expected result (b) Enter the MATLAB code below, which simulates 100 random values with a normal distribution. >> mg(1), x-randn(I , 100); xavg = mean(x), xstd-std(x), histogram(x), grid Record the mean and standard deviation. Note that for randn, the expected mean is zero and standard deviation is one. xstd xavg From the histogram, what percent of the values are within one and two standard deviations of the mean? Values between -1 and1 Values between -2 and 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!