summaryrefslogtreecommitdiff
path: root/1904/CH11/EX11.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1904/CH11/EX11.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1904/CH11/EX11.5')
-rwxr-xr-x1904/CH11/EX11.5/11_5.sce49
1 files changed, 49 insertions, 0 deletions
diff --git a/1904/CH11/EX11.5/11_5.sce b/1904/CH11/EX11.5/11_5.sce
new file mode 100755
index 000000000..dd26b14ab
--- /dev/null
+++ b/1904/CH11/EX11.5/11_5.sce
@@ -0,0 +1,49 @@
+//To Design the system to meet the given Equivalent System Reliability
+//Page 614
+clc;
+clear;
+
+//Individual System Reliabilities
+Ra=0.8;
+Rb=0.95;
+Rc=0.99;
+Rd=0.90;
+Re=0.65;
+
+//When All Are Connected in Series
+
+Req=Ra*Rb*Rc*Rd*Re; //Equivalent System Reliability
+
+Rr=0.8; //Required
+
+Rae=Rr/(Rb*Rc*Rd);
+
+//Since Connecting the elements in parallel will increase their reliability
+deff('x=rel(Ri,y,)','x=(1-((1-Ri)^y))') //Equal Only Parallel Combination
+
+//Since Connecting the elements in parallel will increase their reliability
+//Conditions to Find The Number of Elements to be used
+for i= 1:10
+ L=i; //Number of Time Element A is used
+ R1=rel(Ra,i);
+ X=R1-Rae;
+ if(abs(X)+X==0)
+ continue;
+ else
+ break;
+ end
+end
+
+for i= 1:10
+ M=i;//Number of Time Element E is used
+ R2=rel(Re,i);
+ X=R2-Rae;
+ if(abs(X)+X==0)
+ continue;
+ else
+ break;
+ end
+end
+
+printf('a) The Equivalent system Reliability is %g\n',Req)
+printf('b) One Each of B,C and D all connected in series are connected in series\nwith the series combination of X(Comination of %g elements of A, All Connected in Parallel)\nand Y(Comination of %g elements of E, All Connected in Parallel) to achieve \n%g Equivalent System Realibility\n',L,M,Rr)