summaryrefslogtreecommitdiff
path: root/3513/CH9/EX9.7/Ex9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3513/CH9/EX9.7/Ex9_7.sce')
-rw-r--r--3513/CH9/EX9.7/Ex9_7.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3513/CH9/EX9.7/Ex9_7.sce b/3513/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..f6f0112e0
--- /dev/null
+++ b/3513/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,21 @@
+//Determine the reliability of the system for 20 hrs. of operating period
+//page no 220
+clear
+clc;
+dA = 0.01;
+dB = 0.015;
+dC = 0.02;
+dD = 0.02;
+dE = 0.025;
+t=20;
+RA =%e^(-dA*t);
+RB =%e^(-dB*t);
+RC =%e^(-dC*t);
+RD =%e^(-dD*t);
+RE =%e^(-dE*t);
+RBC = 1-((1-RB)*(1-RC));
+RABC = RA*RBC;
+RABCD = 1-((1-RABC)*(1-RD));
+RABCDE = RE*RABCD;
+
+mprintf("RABCDE = Rs = %.4f \n",RABCDE);