Question

In: Statistics and Probability

Probability and Statistics Write a Matlab simulation to solve problem 2.4.4. 2.4.4. Each problem has a...

Probability and Statistics

Write a Matlab simulation to solve problem 2.4.4.

2.4.4.

Each problem has a failure probability q, independent of any other component. A successful operation requires:

1. components 1, 2, and 3 all work, or 4 works

2. component 5 or component 6 works.

with q = 0.2, simulate the replacement of a component with an ultrareliable component. For each replacement of a regular component, perform 100 trials.

Solutions

Expert Solution

Here's the block diagram:

I am using & to denote the intersection of events(). For independent events, A1, A2, ...,An: P(A1 & A2 & ... & An) =P(A1)*P(A2)*...*P(An).

Since we need all 1, 2 and 3 to be working for any of them tobe of any use, let's consider 1,2 and 3 combined as a singlecomponent I.

P(I not working) = 1 - P(I working)

                         = 1 - P(1 working & 2 working & 3 working)

                         = 1 - P(1 working) * P(2 working) * P(3 working)   [byindep]

                         = 1- (1-q)3

Now, for the overall system to work we need atleast oneof I and 4 to be working and atleast one of 5 and 6 to beworking.

P(atleast one of I and 4 working) = 1- P(I not working & 4not working)

                                                   =1 - P(I not working) * P(4 not working) [by indep]

                                                   =1 - [1-(1-q)3]* q

P(atleast one of 5 and 6 working) = 1 - P(5 not working &6 not working)

                                                   = 1 - P(5 not working) * P(6 not working) [by indep]

                                                   = 1 - q2

P({atleast one of I and 4 working} & {atleastone of 5 and6 working})

                    =P(atleast one of I and 4 working) * P(atleast one of 5 and 6working) [by indep]

                    =  {1- [1-(1-q)3]* q} * {1-q2}


Related Solutions

Please solve the following problem for MATLAB Write a user-defined function that calculates the average and...
Please solve the following problem for MATLAB Write a user-defined function that calculates the average and the standard deviation of a list of numbers. Use the function to calculate the average and the standard deviation of the following list of grades : 80 75 91 60 79 89 65 80 95 50 81
write a program in matlab to produce a discrete event simulation of a switching element with...
write a program in matlab to produce a discrete event simulation of a switching element with 10 inputs and 3 outputs. Time is slotted on all inputs and outputs. Each input packet follows a Bernoulli process. In a given slot, the independent probability that a packet arrives in a slot is p and the probability that a slot is empty is (1– p). One packet fills one slot. For a switching element if 3 or less packets arrives to some...
Please solve the following problem for MATLAB Write a user-defined function (name it F to C)...
Please solve the following problem for MATLAB Write a user-defined function (name it F to C) that converts temperature in degrees F to temperature in degrees C. Use the function to solve the following problem. The change in the length of an object, ∆L, due to a change in the temperature, ∆T, is given by: ∆L = αL∆T, where a is the coefficient of thermal expansion. Determine the change in the area of a rectangular(4.5 m by 2.25m) aluminum (α=23·10-61/˚C)...
Write MATLAB scripts to solve problem 5.21 from the textbook (bisection, specific heat) four times: a)...
Write MATLAB scripts to solve problem 5.21 from the textbook (bisection, specific heat) four times: a) with the bisection method (starting interval [0, 1200]) b) with the false-position method (starting interval [0, 1200]) c) with the Newton-Raphson method (x0 = 0) d) with the secant method ((x0, x1) = (0, 1)) use percent relative error = 10^-6 as stopping criterion. 5.21-Mechanical engineers, as well as most other engineers, use thermodynamics extensively in their work. The following polynomial can be used...
Industrial Engineering Problem/ Probability and Statistics, Will give good rating. Solve problems using Minitab. Show evidence...
Industrial Engineering Problem/ Probability and Statistics, Will give good rating. Solve problems using Minitab. Show evidence that they used the program by putting screen shots of the results. Exercises: 1. Among the 120 applicants for a job, only 80 are qualified. If 5 of these applicants are selected at random for an interview, answer the following: to. Identify the random process b. Define a variable c. Associate the random variable with a distribution and its parameters
Write a MATLAB script file to numerically solve any first order initial value problem using Rulers...
Write a MATLAB script file to numerically solve any first order initial value problem using Rulers method. Once code is working use it to solve the mixing tank problem below. Use a step size of 1 minute, and simulate the solution until the tank contains no more salt. Plot both the Euler approximation and the exact solution on the same set of axes. A tank contains 100 gallons of fresh water. At t=0 minutes, a solution containing 1 lb/gal of...
Matlab Implement Fading Channel Simulation: Jakes Model with using Matlab
Matlab Implement Fading Channel Simulation: Jakes Model with using Matlab
Use principles of physics to solve the problem and then verify your answer using the simulation....
Use principles of physics to solve the problem and then verify your answer using the simulation. Assume that the acceleration due to gravity has a magnitude of g = 9.80 m/s2. If the range of the projectile is 5.96 m, the time-of-flight is T = 1.20 s, and air resistance is turned off, determine the following. A. What is the launch angle of the projectile? B. What is the initial speed of the projectile? C. Express the maximum height reached...
For each problem, write an R code to compute each probability. (a)   Binomial Distribution: X ~...
For each problem, write an R code to compute each probability. (a)   Binomial Distribution: X ~ Bin(10, 0.7)     (i)            P(X = 2)     (ii)           P(X < 2)     (iii)          P(X > 2)     (iv)          P(1 < X < 7) (b) Normal Distribution: X ~ N(0, 4). Note that variance is 4 and, hence, the standard deviation is 2.     (i)             P(X < 3)     (ii)           P(X > 3)     (iii)          P(1 < X < 3) (c) Choose either (a) or (b) and interpret the results in...
My projects is to write or find Matlab code for 4FSK(frequency shift keying) with simulation pictures...
My projects is to write or find Matlab code for 4FSK(frequency shift keying) with simulation pictures and create the signal after that add noise to it and finally demodulate it .. Please help me to do this project.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT