summaryrefslogtreecommitdiff
path: root/3446/CH2/EX2.6/Ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH2/EX2.6/Ex2_6.sce')
-rw-r--r--3446/CH2/EX2.6/Ex2_6.sce21
1 files changed, 21 insertions, 0 deletions
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);