Use MATLAB help and find commands that can find probability using Binomial and P
ID: 3244025 • Letter: U
Question
Use MATLAB help and find commands that can find probability using Binomial and Poisson distributions. Use the commands you found to solve problem 4(see below)
A hard drive manufacturer has a 1.5% failure rate Using binomial and poisson distrbution. One faulty drive in a crate containing 75
Essentially how to I get matlab to calculate the this?
Essentially how to I get matlab to calculate the above?
Problem #4 (a) One drive out of crate containing 75 75.00 0.015 0.985 number of trials probability of single trial success (0.01) probability of single trial failure (1-p) n= p= 1.00 number of success in n trials 0.368 1.125 is =np 0.365 Pl1 or P(1)= 36.76% Binomial Distribution P(x)= n! ( p)(q…) P(x) mu = |P(x)- Pl1 36.52% Poisson Distribution or P(1) x!Explanation / Answer
a)
Y = binopdf(X,N,P) computes the binomial pdf at each of the values in X using the corresponding number of trials in N and probability of success for each trial in P. Y, N, and P can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions of the other inputs.
binopdf(1 ,75,0.015)
ans =
0.367649161043041
b) Y = poisspdf(X,lambda) computes the Poisson pdf at each of the values in X using mean parameters in lambda. X and lambda can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions as the other input. The parameters in lambda must all be positive.
poisspdf(1,1.125)
ans =
0.365234025778144
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.