summaryrefslogtreecommitdiff
path: root/3834/CH14/EX14.1.1/Ex14_1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3834/CH14/EX14.1.1/Ex14_1_1.sce')
-rw-r--r--3834/CH14/EX14.1.1/Ex14_1_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3834/CH14/EX14.1.1/Ex14_1_1.sce b/3834/CH14/EX14.1.1/Ex14_1_1.sce
new file mode 100644
index 000000000..68068f51b
--- /dev/null
+++ b/3834/CH14/EX14.1.1/Ex14_1_1.sce
@@ -0,0 +1,14 @@
+//Fiber Optics Communication Technology, by Djafer K. Mynbaev and Lovell L.scheiner
+//Windows 8
+//Scilab version- 6.0.0
+//Example 14.1.1
+clc;
+clear;
+//given
+H=4.16;//Information carrying capacity(that is bandwidth) of a transmission line in Mbit
+C=56;//time of transmission in Kbit/s
+
+//By Hartley's law
+T=(H*1E6)/(C*1E3);//Time for downloading in s
+
+mprintf("It takes %.2f sec to download %.2f bits from internet to PC",T,H);//the answer given in book is wrong