Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago