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 /2863/CH2/EX2.34 | |
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 '2863/CH2/EX2.34')
-rwxr-xr-x | 2863/CH2/EX2.34/ex2_34.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2863/CH2/EX2.34/ex2_34.sce b/2863/CH2/EX2.34/ex2_34.sce new file mode 100755 index 000000000..b7952974e --- /dev/null +++ b/2863/CH2/EX2.34/ex2_34.sce @@ -0,0 +1,12 @@ +//chapter 2
+printf("\n");
+Rrad=72;
+Rloss=8;
+Gp=16;
+n=Rrad/(Rrad+Rloss);
+printf("the radiation efficiency is %g",n);
+Gp=16;
+Gd=Gp/n;
+Gddb=10*log10(Gd);
+printf("\nthe directive gain is %g",Gd);
+printf("\nthe directive gain in db is %gdb",Gddb);
|