diff options
Diffstat (limited to '116/CH12/EX12.1')
-rwxr-xr-x | 116/CH12/EX12.1/exa12_1.sce | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/116/CH12/EX12.1/exa12_1.sce b/116/CH12/EX12.1/exa12_1.sce index 1032ecdda..b604ac666 100755 --- a/116/CH12/EX12.1/exa12_1.sce +++ b/116/CH12/EX12.1/exa12_1.sce @@ -1,23 +1,21 @@ -
-//Caption:Program to calculate how often do two calls arrive with less than 0.01 sec between them
-
-//Example 12.1
-
-//Page 524
-
-disp('The average arrival rate is')
-
-lam=(3600/10000)//arrivals per sec
-
-disp('From equation 12.2, the probability on arrival in 0.01-sec interval is')//equation on page 524
-
-P0=(%e^-0.0278)
-
-disp('Thus 2.7% arrivals occur withnin 0.01 sec of the pervious arrival. Since the arrival rate is 2.78 arrivals per second, the rate of occurrence of intervarrival time less than 0.01 sec is')
-
-2.78*0.027
-
-disp("Result")
-
-disp("0.075 times/sec")
+ +//Example 12.1 + +//Page 524 + +disp('The average arrival rate is') + +lam=(3600/10000)//arrivals per sec + +disp('From equation 12.2, the probability on arrival in 0.01-sec interval is')//equation on page 524 + +P0=(%e^-0.0278) + +disp('Thus 2.7% arrivals occur withnin 0.01 sec of the pervious arrival. Since the arrival rate is 2.78 arrivals per second, the rate of occurrence of intervarrival time less than 0.01 sec is') + +2.78*0.027 + +disp("Result") + +disp("0.075 times/sec")
\ No newline at end of file |