summaryrefslogtreecommitdiff
path: root/998/CH29/EX29.15
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.15
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.15')
-rwxr-xr-x998/CH29/EX29.15/Ex15.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/998/CH29/EX29.15/Ex15.sce b/998/CH29/EX29.15/Ex15.sce
new file mode 100755
index 000000000..48f8040b7
--- /dev/null
+++ b/998/CH29/EX29.15/Ex15.sce
@@ -0,0 +1,13 @@
+//Ex:15
+clc;
+clear;
+close;
+n_a=0.68;//Overall eficiency
+d=30;//Diameter in m
+f=4150*10^6;//Frequency in Hz
+c=3*10^8;//Speed of light in m
+y=c/f;//Wavelength in m
+G_a=n_a*%pi^2*d^2/y^2;
+G=10*log(G_a)/log(10);
+t=19;// in db
+printf("G/T ratio =%f db/k",G-t); \ No newline at end of file