summaryrefslogtreecommitdiff
path: root/998/CH29/EX29.19/Ex19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /998/CH29/EX29.19/Ex19.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '998/CH29/EX29.19/Ex19.sce')
-rwxr-xr-x998/CH29/EX29.19/Ex19.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/998/CH29/EX29.19/Ex19.sce b/998/CH29/EX29.19/Ex19.sce
new file mode 100755
index 000000000..b88c118d3
--- /dev/null
+++ b/998/CH29/EX29.19/Ex19.sce
@@ -0,0 +1,10 @@
+//Ex:19
+clc;
+clear;
+close;
+c_nu=316.22;//25;//c/n ratio for earth station
+c_nd=100;//20;//c/n ratio from a transponder
+c_n=1/((c_nu)^(-1)+(c_nd^(-1)));//overall c/n ratio
+printf("The overall c/n ratio=%f db ",c_n);
+c_ndb=10*log(c_n)/log(10);//overall c/n ratio in db
+printf("\n The overall c/n ratio=%f db", c_ndb); \ No newline at end of file