summaryrefslogtreecommitdiff
path: root/761
diff options
context:
space:
mode:
Diffstat (limited to '761')
-rwxr-xr-x761/CH15/EX15.9/15_9.sce20
-rwxr-xr-x761/CH17/EX17.13.b/17_13_b.sce21
-rwxr-xr-x761/CH17/EX17.7/17_7.sce26
-rwxr-xr-x761/CH18/EX18.1/18_1.sce14
-rwxr-xr-x761/CH19/EX19.5/19_5.sce18
5 files changed, 50 insertions, 49 deletions
diff --git a/761/CH15/EX15.9/15_9.sce b/761/CH15/EX15.9/15_9.sce
index bd06f587e..6558afb1e 100755
--- a/761/CH15/EX15.9/15_9.sce
+++ b/761/CH15/EX15.9/15_9.sce
@@ -1,11 +1,11 @@
-clc;
-//page no 539
-//prob no. 15.9
-//A taxi compony using central dispatcher with antenna height=15m & taxi antenna height=1.5m
-ht=15;hr=1.5;
-//a)Determination of max commn dist betn dispatcher and taxi
-d1=sqrt(17*ht)+sqrt(17*hr);
-disp('km',d,'a)The max commn dist betn dispatcher & taxi');
-//b)Determination of max ommn dist betn 2 taxis
-d2=sqrt(17*hr)+sqrt(17*hr);//ht=hr=height of antenna of taxi cab
+clc;
+//page no 539
+//prob no. 15.9
+//A taxi compony using central dispatcher with antenna height=15m & taxi antenna height=1.5m
+ht=15;hr=1.5;
+//a)Determination of max commn dist betn dispatcher and taxi
+d1=sqrt(17*ht)+sqrt(17*hr);
+disp('km',d1,'a)The max commn dist betn dispatcher & taxi');
+//b)Determination of max ommn dist betn 2 taxis
+d2=sqrt(17*hr)+sqrt(17*hr);//ht=hr=height of antenna of taxi cab
disp('km',d2,'The max commn dist betn two taxi is'); \ No newline at end of file
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
diff --git a/761/CH18/EX18.1/18_1.sce b/761/CH18/EX18.1/18_1.sce
index 1234ad73d..abf38d2b9 100755
--- a/761/CH18/EX18.1/18_1.sce
+++ b/761/CH18/EX18.1/18_1.sce
@@ -1,7 +1,7 @@
-clc;
-// page no 676
-// prob no 18_1
-//Transmitter and receiver have same height at dist 40km
-d=40;//dist is 40 km
-h=(d^2)/68;// As d=sqrt(17h)+sqrt(17h)
-disp('m',h,'The height of each tower must be at least')l; \ No newline at end of file
+clc;
+// page no 676
+// prob no 18_1
+//Transmitter and receiver have same height at dist 40km
+d=40;//dist is 40 km
+h=(d^2)/68;// As d=sqrt(17h)+sqrt(17h)
+disp('m',h,'The height of each tower must be at least'); \ No newline at end of file
diff --git a/761/CH19/EX19.5/19_5.sce b/761/CH19/EX19.5/19_5.sce
index 2654427c7..3d7ee5fe2 100755
--- a/761/CH19/EX19.5/19_5.sce
+++ b/761/CH19/EX19.5/19_5.sce
@@ -1,10 +1,10 @@
-clc;
-// page no 712
-// prob no 19.5
-......///// refer table 19.1///////.......
-// The proportion in the table are voltage levels and have to be squared to get power.
-// for black setup the voltage level is given as
-v=0.675;
-//Therefore the power level as a fraction of the maximum transmitter power is
-P_black_setup=v^2 *100;
+clc;
+// page no 712
+// prob no 19.5
+///// refer table 19.1///////.......
+// The proportion in the table are voltage levels and have to be squared to get power.
+// for black setup the voltage level is given as
+v=0.675;
+//Therefore the power level as a fraction of the maximum transmitter power is
+P_black_setup=v^2 *100;
disp('of the maximum transmitter power is used to transmit a black setup','%',P_black_setup,) \ No newline at end of file