From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3446/CH2/EX2.6/Ex2_6.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 3446/CH2/EX2.6/Ex2_6.sce (limited to '3446/CH2/EX2.6') diff --git a/3446/CH2/EX2.6/Ex2_6.sce b/3446/CH2/EX2.6/Ex2_6.sce new file mode 100644 index 000000000..3834b8a80 --- /dev/null +++ b/3446/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,21 @@ +// Exa 2.6 +//To find traffic intensity in Erlangs and CCS during eight hour period and busy hour(4:00 PM to 5:00 PM). +//Refer-Table 2.2(page no 28): Traffic on customer line between 9:00PM and 5:00PM + +clc; +clear all; + +time=8; //in hours +calls=11; //no of calls in 90mins period + +//solution +CR=calls/time; //call arrival rate in calls/hour +tavg=(3+10+7+10+5+5+1+5+15+34+5)/11; //average call holding time in mins per call +I= CR*(tavg/60); //traffic intensity in Erlangs +printf('Traffic Intensity during eight hour period is %.3f Erlangs = %.1f CCS \n',I,I*36); + +//For Busy Hour i.e between 4:00PM and 5:00PM +CRB=2; //call arrival rate during busy hour in calls/hour(from table 2.2) +tavgB=(34+5)/2; //average holding time during Busy Hour in mins/call (from table 2.2) +IB=CRB*(tavgB/60); //Traffic Intensity during Busy Hour +printf(' Traffic Intensity during busy hour is %.2f Erlangs = %.1f CCS',IB,IB*36); -- cgit