summaryrefslogtreecommitdiff
path: root/1076/CH20/EX20.3/20_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1076/CH20/EX20.3/20_3.sce')
-rwxr-xr-x1076/CH20/EX20.3/20_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1076/CH20/EX20.3/20_3.sce b/1076/CH20/EX20.3/20_3.sce
new file mode 100755
index 000000000..951266854
--- /dev/null
+++ b/1076/CH20/EX20.3/20_3.sce
@@ -0,0 +1,13 @@
+clear;
+clc;
+
+r1=.95;
+r2=.92;
+r3=.98;
+r4=.88
+
+R=r1*r2*r3*r4;
+
+Q=(1-R)*(1-R);
+Rs=1-Q;
+mprintf("\nNet system reliability = %.4f ",Rs);