summaryrefslogtreecommitdiff
path: root/3446/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3446/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3446/CH2/EX2.8/Ex2_8.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3446/CH2/EX2.8/Ex2_8.sce b/3446/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..c1fa1b2e1
--- /dev/null
+++ b/3446/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,20 @@
+//Exa:2.8
+// To find average busy hour call attempts(BHCA's).
+
+clc;
+clear all;
+
+minutes=500; //No of minutes used per month per user
+Twork=0.9; //Traffic During Work day
+TBH=0.1; //Traffic during busy hour
+Days=20; //No of workdays in a month
+MeanHT=100; //Mean holding time(in secs)
+
+//solution
+//Avg BH usage per subscriber (in minutes) = minutes*Twork(TBH/Days);
+//BHCAs=traffic (in Erlangs) *3600/(meanHT)
+
+Traffic=minutes*Twork*(TBH/Days);
+BHCAs=(Traffic/60)*(3600/MeanHT);
+
+printf('Average Busy Hour call attempts are %.2f ', BHCAs);