Question: Write a program that simulates the design shown below, using a component reliability of 0.8 for components 1 and 2, and 0.95 for components 3

Write a program that simulates the design shown below, using a component reliability of 0.8 for components 1 and 2, and 0.95 for components 3 and 4. Print the estimate of the reliability, using 5,000 simulations. (The analytical reliability of this system is 0.9649.) Use the function rand_float to generate your random reliability values: The analytical system reliability can be calculated by calculating the reliability of the components: In this problem we simulate 5000 tests that conform to the lest: For the reliability of components in sequence, the estimated value must be always be less than or equal calculated reliability (never more, due to the fact you always multiply 2 fractions); hence, we count the valid attempts where the test suffice and count those valid sets of reliability estimations using a counter (i.e. success). Simulation reliability is computed by: successum_sim where num_sim is 5000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
