# Reliability design problem

In this article, we will learn about the **concept of reliability design problem**.

Submitted by Shivangi Jain, on August 21, 2018

## Reliability design problem

In **reliability design**, the problem is to design a system that is composed of several devices connected in series.

If we imagine that r1 is the reliability of the device.

Then the reliability of the function can be given by **πr1**.

If **r1 = 0.99** and **n = 10** that **n** devices are set in a series, **1 <= i <= 10**, then reliability of the whole system **πri** can be given as: **Πri = 0.904**

So, if we duplicate the devices at each stage then the reliability of the system can be increased.

It can be said that multiple copies of the same device type are connected in parallel through the use of switching circuits. Here, switching circuit determines which devices in any given group are functioning properly. Then they make use of such devices at each stage, that result is increase in reliability at each stage. If at each stage, there are **mi** similar types of devices **Di**, then the probability that all **mi** have a malfunction is **(1 - ri)^mi**, which is very less.

And the reliability of the stage **I** becomes **(1 – (1 - ri) ^mi)**. Thus, if **ri = 0.99** and **mi = 2**, then the stage reliability becomes **0.9999** which is almost equal to **1**. Which is much better than that of the previous case or we can say the reliability is little less than **1 - (1 - ri) ^mi** because of less reliability of switching circuits.

In reliability design, we try to use device duplication to maximize reliability. But this maximization should be considered along with the cost.

Let **c** is the maximum allowable cost and **ci** be the cost of each unit of device **i**. Then the maximization problem can be given as follows:

**Maximize π Øi (mi) for 1 <= I <= n**

**Subject to:**

**mi>= 1 and integer 1 <= i <= n**

Here, **Øi (mi)** denotes the reliability of the stage **i**.

The reliability of the system can be given as follows:

**Π Øi (mi) for 1 <= i <= n**

If we increase the number of devices at any stage beyond the certain limit, then also only the cost will increase but the reliability could not increase.

TOP Interview Coding Problems/Challenges

- Run-length encoding (find/print frequency of letters in a string)
- Sort an array of 0's, 1's and 2's in linear time complexity
- Checking Anagrams (check whether two string is anagrams or not)
- Relative sorting algorithm
- Finding subarray with given sum
- Find the level in a binary tree with given sum K
- Check whether a Binary Tree is BST (Binary Search Tree) or not
- 1[0]1 Pattern Count
- Capitalize first and last letter of each word in a line
- Print vertical sum of a binary tree
- Print Boundary Sum of a Binary Tree
- Reverse a single linked list
- Greedy Strategy to solve major algorithm problems
- Job sequencing problem
- Root to leaf Path Sum
- Exit Point in a Matrix
- Find length of loop in a linked list
- Toppers of Class
- Print All Nodes that don't have Sibling
- Transform to Sum Tree
- Shortest Source to Destination Path

Comments and Discussions