Answered step by step
Verified Expert Solution
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
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 1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started