Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need matlab code as the answer Part C (10 points): Binomial probability 1. Calculate the probability of rolling a four sided die five times and

image text in transcribed

Need matlab code as the answer

Part C (10 points): Binomial probability 1. Calculate the probability of rolling a four sided die five times and rolling three "1" s. Use binopdf. Then calculate the probability using the formula bigp. Include your probability results in the comments. Compare your results. bigpfactorial (nnn)/factorial (xxx)/factorial(nnn-xxx) 2. Using the function nchoosek to estimate the binomial coefficient for rolling a four sided die five times and rolling three "1" s. Then compare the result with the explicit formula for the binomial coefficient. What does the binomial coefficient represent? bin-coeffe factorial (nnn) /factorial (xxx) /factorial (nnn-xxx) 3. Calculate the probability of rolling a four sided die five times and obtaining a role of "1" three times in a row. (Hint: consider the unique ways that the 5 rolls can lead to three "1s" in a row and how this number compares to the bin_coeff.) Is this the same as the probabilities in question 1? Part C (10 points): Binomial probability 1. Calculate the probability of rolling a four sided die five times and rolling three "1" s. Use binopdf. Then calculate the probability using the formula bigp. Include your probability results in the comments. Compare your results. bigpfactorial (nnn)/factorial (xxx)/factorial(nnn-xxx) 2. Using the function nchoosek to estimate the binomial coefficient for rolling a four sided die five times and rolling three "1" s. Then compare the result with the explicit formula for the binomial coefficient. What does the binomial coefficient represent? bin-coeffe factorial (nnn) /factorial (xxx) /factorial (nnn-xxx) 3. Calculate the probability of rolling a four sided die five times and obtaining a role of "1" three times in a row. (Hint: consider the unique ways that the 5 rolls can lead to three "1s" in a row and how this number compares to the bin_coeff.) Is this the same as the probabilities in question 1

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions