Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Perform all of the following in a single Mathematica notebook . Use what we discussed in class: to estimate the probability that some event occurs,

Perform all of the following in a single Mathematica notebook. Use what we discussed in class: to

estimate the probability that some event occurs, perform many trials, and estimate the probability as

probability = (number of times the event occurs)/(number of trials).

To estimate the expected value of some random process, perform many trials, and estimate the expected

value as

expected value = (sum of all outcomes)/ (number of trials).

Possible useful functions: Table, Length, Total, Count, N, RandomInteger, DeleteDuplicates, Histogram.

1. Perform the following experiment 1000 times: roll 3 six-sided dice and add their values. Put the

outcomes in a list called addDiceList. Use Historgram to view the distribution of the outcomes.

2. Perform the following experiment 1000 times: roll 3 six-sided dice and multiply their values. Put

the outcomes in a list called multiDiceList. Use Histogram to view the distribution of the outcomes.

3. Consider the following random process: roll 3 six-sided dice and add their values. Defifine a variable

probSumIs10 that estimates the probability that 10 is produced by this process. (Use enough trials so

that probSumIs10 looks the same up to 2 decimal places.)

4. Consider the following random process: choose 3 random numbers from 1 to 10 (repeats are allowed)

and then select the biggest of those 3 numbers. Defifine a variable called bigThree in Mathematica that

estimates the expected value of this process.

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

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions

Question

3. What should a contract of employment contain?

Answered: 1 week ago

Question

1. What does the term employment relationship mean?

Answered: 1 week ago