diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2681/CH8/EX8.19 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2681/CH8/EX8.19')
-rwxr-xr-x | 2681/CH8/EX8.19/Ex8_19.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2681/CH8/EX8.19/Ex8_19.sce b/2681/CH8/EX8.19/Ex8_19.sce new file mode 100755 index 000000000..4ff0a6ab5 --- /dev/null +++ b/2681/CH8/EX8.19/Ex8_19.sce @@ -0,0 +1,15 @@ +//power gain and directivity of a horn
+//given
+clc
+f=8d+9//hertz
+v=3d+8//m/s
+d=0.1//m//aperture dimentions
+W=0.05//m//aperture dimentions
+lemda=v/f//metre
+gp=4.5*W*d/lemda^2
+gp_decibles=10*log10(gp)//changing to decibles
+D=7.5*W*d/lemda^2//directivity
+D_decibles=10*log10(D)
+gp_decibles=round(gp_decibles*100)/100///rounding off decimals
+D_decibles=round(D_decibles*100)/100///rounding off decimals
+disp(D_decibles,gp_decibles,'the beamwidth power gain and directivity in decibles')//decibles
|