summaryrefslogtreecommitdiff
path: root/761/CH17
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /761/CH17
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '761/CH17')
-rwxr-xr-x761/CH17/EX17.13.b/17_13_b.sce21
-rwxr-xr-x761/CH17/EX17.7/17_7.sce26
2 files changed, 24 insertions, 23 deletions
diff --git a/761/CH17/EX17.13.b/17_13_b.sce b/761/CH17/EX17.13.b/17_13_b.sce
index 33e4d021e..a9cdda783 100755
--- a/761/CH17/EX17.13.b/17_13_b.sce
+++ b/761/CH17/EX17.13.b/17_13_b.sce
@@ -1,11 +1,12 @@
-clc;
-//page no 660
-//prob no. 17.13.b
-tp=10^-6;//pulse duration of pulse radar
-f=10^3;//operating freq in Hz
-//The maximum unambiguous range is
-Rmax=c/(2*f);
-disp('m',Rmax,'The maximum range is ');
-//The minimum unambiguous range is
-Rmin=c*tp/2;
+clc;
+//page no 660
+//prob no. 17.13.b
+c = 3*10^8;
+tp=10^-6;//pulse duration of pulse radar
+f=10^3;//operating freq in Hz
+//The maximum unambiguous range is
+Rmax=c/(2*f);
+disp('m',Rmax,'The maximum range is ');
+//The minimum unambiguous range is
+Rmin=c*tp/2;
disp('m',Rmin,'The minimum range is '); \ No newline at end of file
diff --git a/761/CH17/EX17.7/17_7.sce b/761/CH17/EX17.7/17_7.sce
index 82e7e02c4..21ee94ce1 100755
--- a/761/CH17/EX17.7/17_7.sce
+++ b/761/CH17/EX17.7/17_7.sce
@@ -1,14 +1,14 @@
-clc;
-//page no 631
-//prob no. 17.7
-//A signal with level of 20dBm & insertion loss=1dB & coupling =20dB,directivity=40dB
-sig_in=20;loss=1;couple=20;direct=40;
-//Determination of signal level in main guide
-sig_level_main=signal_in-loss;
-disp('dBm',sig_level_main,'The signal level in main guide is');
-//Determination of signal level in secondary guide
-sig_level_sec=sig_in-couple;
-disp('dBm',sig_level_sec,'The signal level in secondary guide is');
-//If signal dirn in main guide were reveresed,the signal level in sec gide would reduced by 40dB to
-sig_sec_rev=(sig_level_sec)-(direct);
+clc;
+//page no 631
+//prob no. 17.7
+//A signal with level of 20dBm & insertion loss=1dB & coupling =20dB,directivity=40dB
+sig_in=20;loss=1;couple=20;direct=40;
+//Determination of signal level in main guide
+sig_level_main=sig_in-loss;
+disp('dBm',sig_level_main,'The signal level in main guide is');
+//Determination of signal level in secondary guide
+sig_level_sec=sig_in-couple;
+disp('dBm',sig_level_sec,'The signal level in secondary guide is');
+//If signal dirn in main guide were reveresed,the signal level in sec gide would reduced by 40dB to
+sig_sec_rev=(sig_level_sec)-(direct);
disp('dBm',sig_sec_rev,'The signal level from sec guide when reversed guide is'); \ No newline at end of file