summaryrefslogtreecommitdiff
path: root/3513/CH9/EX9.2/Ex9_2.sce
blob: 3f9355d79410626ad6b3177f26cb611d9cdd4ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Calculate the reliability of the configuration
//page no 218
clear
clc;
RA = 0.7;
RB = 0.7;
RC = 0.9;
RD = 0.8;
RE = 0.9;

RAB = 1-((1-RA)*(1-RB));
RABC=RAB*RC;
RABCD = 1-((1-RABC)*(1-RD));
RABCDE = RABCD*RE;
mprintf("\RABCDE = %.4f \n",RABCDE);