summaryrefslogtreecommitdiff
path: root/116/CH12/EX12.4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /116/CH12/EX12.4
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '116/CH12/EX12.4')
-rwxr-xr-x116/CH12/EX12.4/exa12_4.sce67
1 files changed, 33 insertions, 34 deletions
diff --git a/116/CH12/EX12.4/exa12_4.sce b/116/CH12/EX12.4/exa12_4.sce
index eff220a3f..7ddacf887 100755
--- a/116/CH12/EX12.4/exa12_4.sce
+++ b/116/CH12/EX12.4/exa12_4.sce
@@ -1,34 +1,33 @@
-
-//Caption:Program to calculate the percentage of total traffic carried by first five ckt and traffic carried by all other remaining
-
-//Example 12.4
-
-//Page 529
-
-disp('The Traffic intensity of system is,')
-
-A=1*2
-
-disp('The raffic intensity carried by i active ckt is exactly i erlangs. Hence the traffic carried by 1st 5 ckt is,')
-
-P1=[(1*2^1)/(1)]
-
-P2=[(2*2^2)/(1*2)]
-
-P3=[(3*2^3)/(1*2*3)]
-
-P4=[(4*2^4)/(1*2*3*4)]
-
-P5=[(5*2^5)/(1*2*3*4*5)]
-
-A5={(%e^-2)*[P1+P2+P3+P4+P5]}
-
-disp('All of remaining ckts carry,')
-
-Ar=2-1.89
-
-disp("Result")
-
-disp("A(5) = 1.89 erlangs")
-
-disp("A(remaining) = 0.11 erlangs")
+
+
+//Example 12.4
+
+//Page 529
+
+disp('The Traffic intensity of system is,')
+
+A=1*2
+
+disp('The raffic intensity carried by i active ckt is exactly i erlangs. Hence the traffic carried by 1st 5 ckt is,')
+
+P1=[(1*2^1)/(1)]
+
+P2=[(2*2^2)/(1*2)]
+
+P3=[(3*2^3)/(1*2*3)]
+
+P4=[(4*2^4)/(1*2*3*4)]
+
+P5=[(5*2^5)/(1*2*3*4*5)]
+
+A5={(%e^-2)*[P1+P2+P3+P4+P5]}
+
+disp('All of remaining ckts carry,')
+
+Ar=2-1.89
+
+disp("Result")
+
+disp("A(5) = 1.89 erlangs")
+
+disp("A(remaining) = 0.11 erlangs")