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.2/ex2_2.sce | |
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.2/ex2_2.sce')
-rwxr-xr-x | 2863/CH2/EX2.2/ex2_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2863/CH2/EX2.2/ex2_2.sce b/2863/CH2/EX2.2/ex2_2.sce new file mode 100755 index 000000000..f5c293b4e --- /dev/null +++ b/2863/CH2/EX2.2/ex2_2.sce @@ -0,0 +1,14 @@ +//chapter 2
+//formula etta=Prad/Prad+Ploss=Rrad/Rrad+Rloss
+printf("\n");
+Rrad=72;
+printf("radiation resistance is %dohm",Rrad);
+Rloss=8;
+ettar=72/(72+8);
+printf("\nthe Loss resistance is %dohm",Rloss);
+Gpmax=30;
+printf("\nthe power gain of antenna is %d",Gpmax);
+Gdmax=Gpmax/ettar;
+Gdmax1=10 *log10(Gdmax);//in db
+printf("\nthe Directivity gain is %g",Gdmax);
+printf("\nthe Directivity gain in db is given by %edb",Gdmax1);
|