summaryrefslogtreecommitdiff
path: root/1895/CH6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1895/CH6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1895/CH6')
-rwxr-xr-x1895/CH6/EX6.1/EXAMPLE6_1.SCE19
-rwxr-xr-x1895/CH6/EX6.10/EXAMPLE6_10.SCE25
-rwxr-xr-x1895/CH6/EX6.11/EXAMPLE6_11.SCE22
-rwxr-xr-x1895/CH6/EX6.12/EXAMPLE6_12.SCE21
-rwxr-xr-x1895/CH6/EX6.14/EXAMPLE6_14.SCE28
-rwxr-xr-x1895/CH6/EX6.16/EXAMPLE6_16.SCE27
-rwxr-xr-x1895/CH6/EX6.17/EXAMPLE6_17.SCE24
-rwxr-xr-x1895/CH6/EX6.18/EXAMPLE6_18.SCE27
-rwxr-xr-x1895/CH6/EX6.19/EXAMPLE6_19.SCE22
-rwxr-xr-x1895/CH6/EX6.2/EXAMPLE6_2.SCE21
-rwxr-xr-x1895/CH6/EX6.20/EXAMPLE6_20.SCE23
-rwxr-xr-x1895/CH6/EX6.21/EXAMPLE6_21.SCE26
-rwxr-xr-x1895/CH6/EX6.3/EXAMPLE6_3.SCE29
-rwxr-xr-x1895/CH6/EX6.4/EXAMPLE6_4.SCE26
-rwxr-xr-x1895/CH6/EX6.7/EXAMPLE6_7.SCE23
-rwxr-xr-x1895/CH6/EX6.8/EXAMPLE6_8.SCE20
-rwxr-xr-x1895/CH6/EX6.9/EXAMPLE6_9.SCE21
17 files changed, 404 insertions, 0 deletions
diff --git a/1895/CH6/EX6.1/EXAMPLE6_1.SCE b/1895/CH6/EX6.1/EXAMPLE6_1.SCE
new file mode 100755
index 000000000..ff9789928
--- /dev/null
+++ b/1895/CH6/EX6.1/EXAMPLE6_1.SCE
@@ -0,0 +1,19 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.1(PAGENO 281)");
+
+//given
+R = 10*10^3//resistance of amplifier in ohms
+T = 273+27//temperature in kelvin
+B = (20-18)*10^6//bandwidth
+k = 1.38*10^-23//boltzman's constant
+
+//calculations
+V_n = sqrt(4*R*k*T*B);//rms noise voltage
+
+//result
+printf("\n\nRms noise voltage = %.10f V",V_n);
diff --git a/1895/CH6/EX6.10/EXAMPLE6_10.SCE b/1895/CH6/EX6.10/EXAMPLE6_10.SCE
new file mode 100755
index 000000000..8b2ad835d
--- /dev/null
+++ b/1895/CH6/EX6.10/EXAMPLE6_10.SCE
@@ -0,0 +1,25 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.10(PAGENO 305)");
+
+//given
+F_1 = 2//noise figure of first stage in dB
+A_1 = 12//gain in first stage in dB
+F_2 = 6//noise figure of second stage in dB
+A_2 = 10//gain in first second in dB
+
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+A_1ratio = exp((A_1/10)*log(10));//gain of first stage in ratio
+A_2ratio = exp((A_2/10)*log(10));//gain of second stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(A_1ratio));//Overall noise figure
+F_dB = 10*log10(F);//Overall noise figure in dB
+
+//results
+printf("\n\nOverall noise figure = %.2f dB",F_dB );
diff --git a/1895/CH6/EX6.11/EXAMPLE6_11.SCE b/1895/CH6/EX6.11/EXAMPLE6_11.SCE
new file mode 100755
index 000000000..334b6ae3e
--- /dev/null
+++ b/1895/CH6/EX6.11/EXAMPLE6_11.SCE
@@ -0,0 +1,22 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.11(PAGENO 306)");
+
+//given
+F_1 = 9//noise figure for first stage in dB
+F_2 = 20//noise figure for second stage in dB
+A_1 = 15//gain in first stage in dB
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+A_1ratio = exp((A_1/10)*log(10));//gain of first stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(A_1ratio));
+ F_dB = 10*log10(F);
+
+ //results
+ printf("\n\nOverall noise figure = %.2f dB", F_dB );
diff --git a/1895/CH6/EX6.12/EXAMPLE6_12.SCE b/1895/CH6/EX6.12/EXAMPLE6_12.SCE
new file mode 100755
index 000000000..9f92210c8
--- /dev/null
+++ b/1895/CH6/EX6.12/EXAMPLE6_12.SCE
@@ -0,0 +1,21 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.12(PAGENO 307)");
+
+//given
+f_1 = 18*10^6//lower operating frequency in Hz
+f_2 = 20*10^6//lower operating frequency in Hz
+T = 273 + 17//temperature in kelvin
+R = 10*10^3//input resistance
+k = 1.38*10^-23//boltzman's constant
+
+//calculations
+B = f_2 - f_1//bandwidth in Hz
+V_n = sqrt(4*k*B*R*T);//rms noise voltage
+
+//results
+printf("\n\nrms noise voltage = %.10f V",V_n);
diff --git a/1895/CH6/EX6.14/EXAMPLE6_14.SCE b/1895/CH6/EX6.14/EXAMPLE6_14.SCE
new file mode 100755
index 000000000..37375ef02
--- /dev/null
+++ b/1895/CH6/EX6.14/EXAMPLE6_14.SCE
@@ -0,0 +1,28 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.14(PAGENO 308)");
+
+//given
+A = 60//gain of noiseless amplifier
+V_n1 = 1*10^-3//output of the amplifier
+B = 20*10^3//initial bandwidth
+B1 = 5*10^3//change in bandwidth
+k = 1.38*10^-23//boltzman's constant
+T = 273 + 80//temperature in degree kelvin
+
+//calculaitons
+//since the bandwidth is reesuced to 1/4th of its value,therefore the noise voltage
+//will be V_n proportional to sqrt(B)
+//Hence, the noise voltage at 5KHz will become half its value at 20KHz bandwidth i.e,
+V_n = .5*10^-3//noise voltage in volts
+V_no = V_n1/A;//noise ouput voltage
+R = (V_no^2/(4*k * T * B ));//resistance at 80degree celcius
+
+//results
+printf("\n\ni.Meter reading in volts = %.10f V",V_n);
+printf("\n\nii.Resistance at 80 degree celcius = %.2f ohms",R);
+printf("\n\nNote: There is calculation mistake in textbook in the measurement of resistance they took constant in formula as 1 instead of 4");
diff --git a/1895/CH6/EX6.16/EXAMPLE6_16.SCE b/1895/CH6/EX6.16/EXAMPLE6_16.SCE
new file mode 100755
index 000000000..67075a358
--- /dev/null
+++ b/1895/CH6/EX6.16/EXAMPLE6_16.SCE
@@ -0,0 +1,27 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.16(PAGENO 309)");
+
+//given
+A_1 = 10//gain in first stage in dB
+A_2 = 10//gain in second stage in dB
+A_3 = 10//gain in third stage in dB
+F_1 = 6//noise figure for first stage in dB
+F_2 = 6//noise figure for second stage in dB
+F_3 = 6//noise figure for third stage in dB
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+F_3ratio = exp((F_3/10)*log(10));//noise figure in third stage in ratio
+A_1ratio = exp((A_1/10)*log(10));//gain of first stage in ratio
+A_2ratio = exp((A_2/10)*log(10));//gain of second stage in ratio
+A_3ratio = exp((A_3/10)*log(10));//gain of third stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(A_1ratio)) + ((F_3ratio - 1)/(A_2ratio*A_1ratio));//Overall noise figure
+
+//results
+ printf("\n\nOverall noise figure of three stage cascaded amplifier = %.2f ", F );
diff --git a/1895/CH6/EX6.17/EXAMPLE6_17.SCE b/1895/CH6/EX6.17/EXAMPLE6_17.SCE
new file mode 100755
index 000000000..7a07d9c03
--- /dev/null
+++ b/1895/CH6/EX6.17/EXAMPLE6_17.SCE
@@ -0,0 +1,24 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.17(PAGENO 310)");
+
+//given
+G_1 = 10//gain in first stage in dB
+//noise figure for both the stages are same
+F_1 = 10//noise figure for first stage in dB
+F_2 = 10//noise figure for second stage in dB
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+G_1ratio = exp((G_1/10)*log(10));//gain of first stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(G_1ratio));//Overall noise figure
+F_dB= 10*log10(F)////Overall noise figure in dB
+
+//results
+
+ printf("\n\nOverall noise figure = %.2f dB", F_dB );
diff --git a/1895/CH6/EX6.18/EXAMPLE6_18.SCE b/1895/CH6/EX6.18/EXAMPLE6_18.SCE
new file mode 100755
index 000000000..e571888c8
--- /dev/null
+++ b/1895/CH6/EX6.18/EXAMPLE6_18.SCE
@@ -0,0 +1,27 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.18(PAGENO 310)");
+
+//given
+G_1 = 4//gain in first stage in dB
+G_2 = 10//gain in second stage in dB
+F_1 = 10//noise figure for first stage in dB
+F_2 = 10//noise figure for second stage in dB
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+G_1ratio = exp((G_1/10)*log(10));//gain of first stage in ratio
+G_2ratio = exp((G_2/10)*log(10));//gain of second stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(G_1ratio));//Overall noise figure
+G = log10(G_1ratio *G_2ratio );
+F_dB= 10*log10(F)////Overall noise figure in dB
+
+//results
+printf("\n\ni.Overall noise figure = %.2f dB", F_dB );
+ printf("\n\nii.Overall gain = %.2f dB",G );
+printf("\n\nNote:There is mistake in calculation of overall gain in textbook")
diff --git a/1895/CH6/EX6.19/EXAMPLE6_19.SCE b/1895/CH6/EX6.19/EXAMPLE6_19.SCE
new file mode 100755
index 000000000..f4350b420
--- /dev/null
+++ b/1895/CH6/EX6.19/EXAMPLE6_19.SCE
@@ -0,0 +1,22 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.19(PAGENO 310)");
+
+//given
+G_1 = 15//gain in first stage in dB
+F_1 = 9//noise figure for first stage in dB
+F_2 = 20//noise figure for second stage in dB
+
+//calculations
+F_1ratio = exp((F_1/10)*log(10));//noise figure of first stage in ratio
+F_2ratio = exp((F_2/10)*log(10));//noise figure of second stage in ratio
+G_1ratio = exp((G_1/10)*log(10));//gain of first stage in ratio
+F = F_1ratio + ((F_2ratio - 1)/(G_1ratio));//Overall noise figure
+F_dB= 10*log10(F)////Overall noise figure in dB
+
+//results
+printf("\n\nOverall noise figure = %.2f dB", F_dB );
diff --git a/1895/CH6/EX6.2/EXAMPLE6_2.SCE b/1895/CH6/EX6.2/EXAMPLE6_2.SCE
new file mode 100755
index 000000000..b3c462943
--- /dev/null
+++ b/1895/CH6/EX6.2/EXAMPLE6_2.SCE
@@ -0,0 +1,21 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.2(PAGENO 281)");
+
+//given
+R_1 = 300//equivalent noise resistance
+R_2 = 400//input resistance
+T = 273+27//temperature in kelvin
+B = 7*10^6//bandwidth
+k = 1.38*10^-23//boltzman's constant
+
+//calculations
+R_s = R_1 +R_2//effective resistance in series
+V_nr = sqrt(4*k*T*B*R_s)//rms noise voltage
+
+//result
+printf("\n\nRms noise voltage = %.10f V",V_nr)
diff --git a/1895/CH6/EX6.20/EXAMPLE6_20.SCE b/1895/CH6/EX6.20/EXAMPLE6_20.SCE
new file mode 100755
index 000000000..48f4db1f7
--- /dev/null
+++ b/1895/CH6/EX6.20/EXAMPLE6_20.SCE
@@ -0,0 +1,23 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.20(PAGENO 311)");
+
+//given
+F_2 = 20//noise figure of receiver in dB
+G_1 = 40//gain of low noise amplifier in dB
+T_e1 = 80//noise temperature of low noise amplifier in degree kelvin
+T_0 = 300//room temperature
+
+//calculations
+F_2ratio = exp((F_2/10)*log(10));//noise figure of receiver in ratio
+G_1ratio = exp((G_1/10)*log(10));//gain of low noise amplifier
+T_e2 = (F_2ratio-1)*T_0//noise temperature of the receiver in degree kelvin
+T_e = T_e1 +(T_e2/G_1ratio)//overall noise temperature in degree kelvin
+
+//results
+printf("\n\ni.Noise Temperature of the receiver = %.2f degkelvin ",T_e2);
+printf("\n\nii.Overall noise temperature = %.2f degkelvin",T_e);
diff --git a/1895/CH6/EX6.21/EXAMPLE6_21.SCE b/1895/CH6/EX6.21/EXAMPLE6_21.SCE
new file mode 100755
index 000000000..263e982dd
--- /dev/null
+++ b/1895/CH6/EX6.21/EXAMPLE6_21.SCE
@@ -0,0 +1,26 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.21(PAGENO 311)");
+
+//given from the figure
+G_1ratio = 1000//gain of master amplifier
+G_2ratio = 100//gain of TWT
+G_3ratio = 10000//gain of mixer and IF amplifier
+F_2ratio = 4//noise figure of TWT
+F_3ratio = 16//noise figure of mixer and IF amplifier
+T_0 =273 + 17//ambident temperature in degree kelvin
+T_e1 = 5//temperature of master amplifier in degree kelvin
+
+//calculaitons
+F_1 = 1 + (T_e1/T_0);//noise figure of master amplifier
+F = F_1 + ((F_2ratio - 1)/(G_1ratio)) + ((F_3ratio - 1)/(G_2ratio*G_1ratio));//Overall noise figure
+F_dB = 10*log10(F);//overall noise figure in dB
+T_e = (F - 1)*T_0;//overall noise temperature of the receiver
+
+//results
+ printf("\n\ni.Overall noise temperature of the receiver =%.2f degreekelvin",T_e);
+ printf("\n\nii.Overall noise figure = %.6f dB", F_dB);
diff --git a/1895/CH6/EX6.3/EXAMPLE6_3.SCE b/1895/CH6/EX6.3/EXAMPLE6_3.SCE
new file mode 100755
index 000000000..de90efc4d
--- /dev/null
+++ b/1895/CH6/EX6.3/EXAMPLE6_3.SCE
@@ -0,0 +1,29 @@
+
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.3(PAGENO 282)");
+
+//given
+R_1 = 20*10^3//resistance one
+R_2 = 50*10^3//resistance two
+T = 273+15//temperature in kelvin
+B = 100*10^3//bandwidth
+k = 1.38*10^-23//boltzman's constant
+
+//calculations
+R_s = R_1 +R_2//series effective resistance
+R_p = (R_1*R_2)/(R_1 + R_2)//parallel effective resistance
+V_1 = sqrt(4*k*T*R_1*B)//noise voltage in R_1
+V_2 = sqrt(4*k*T*R_1*B)//noise voltage in R_2
+V_s = sqrt(4*k*T*R_s*B)//noise voltage when resistance connected in series
+V_p = sqrt(4*k*T*R_p*B)//noise voltage when resistance connected in parallel
+
+//results
+printf("\n\ni.Noise voltage due to R_1 = %.10f V",V_1);
+printf("\n\nii.Noise voltage due to R_2 = %.10f V",V_2);
+printf("\n\niii.Noise voltage due to two resistance in series = %.10f V",V_s);
+printf("\n\niv.Noise voltage due to two resistance in parallel = %.10f V",V_p);
diff --git a/1895/CH6/EX6.4/EXAMPLE6_4.SCE b/1895/CH6/EX6.4/EXAMPLE6_4.SCE
new file mode 100755
index 000000000..b3012b595
--- /dev/null
+++ b/1895/CH6/EX6.4/EXAMPLE6_4.SCE
@@ -0,0 +1,26 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.4(PAGENO 283)");
+
+//given
+A_1 = 10//voltage gain for first stage
+A_2 = 25//volatage gain for second stage
+R_i1 = 600//input resistance for first stage in ohms
+R_eq1 = 1600//equivalent noise resistance for first stage
+R_01 = 27*10^3//Output resistance for first stage
+R_i2 = 81*10^3//input resistance for second stage
+R_eq2 = 10*10^3//Equivalent noise resistance for second stage
+R_02 = 1*10^6//putput resistance for second case
+
+//calculations
+R_1 = R_i1 + R_eq1
+R_2 = ((R_01*R_i2)/(R_01+R_i2)) + R_eq2
+R_3 = R_02
+R_eq = R_1 + (R_2/A_1^2) + R_3/(A_1^2 *A_2^2);
+
+//results
+printf("\n\nEquivalent input noise resistance = %.2f Ohms",R_eq);
diff --git a/1895/CH6/EX6.7/EXAMPLE6_7.SCE b/1895/CH6/EX6.7/EXAMPLE6_7.SCE
new file mode 100755
index 000000000..dc6a64911
--- /dev/null
+++ b/1895/CH6/EX6.7/EXAMPLE6_7.SCE
@@ -0,0 +1,23 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.7(PAGENO 295)");
+
+//given
+T = 273 + 17//temperature in kelvin
+Q = 10//quality factor
+c = 10*10^-12//capacitance
+f_r = 100*10^6//resonate frequency
+k = 1.38*10^-23//boltzman's constant
+
+//calculations
+delta_f = f_r/Q//bandwidth of the tuned circuit
+w = 2*%pi*f_r;//angular frequency
+R = 1/(Q*w*c);//resistance
+V_no = sqrt(4*k*Q^2*T*delta_f*R) //output voltage
+
+//results
+printf("\n\nOutput voltge = %.10f V",V_no);
diff --git a/1895/CH6/EX6.8/EXAMPLE6_8.SCE b/1895/CH6/EX6.8/EXAMPLE6_8.SCE
new file mode 100755
index 000000000..cc0a8b4c0
--- /dev/null
+++ b/1895/CH6/EX6.8/EXAMPLE6_8.SCE
@@ -0,0 +1,20 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.8(PAGENO 297)");
+
+//given
+R_a = 50//antenna resistance
+R_eq = 30//equivalent noise resistance of receiver
+T_0 = 290//initial temperature in degree kelvin
+//calculations
+F = 1+(R_eq/R_a);//noise figure
+F_dB = 10*log10(F)//noise figure in decibels
+T_eq = T_0*(F-1)//equivalent temperature
+
+//results
+printf("\n\ni.Noise figure in decibels = %.2f dB",F_dB);
+printf("\n\nii.Equivalent temperature = %.2f degree kelvin",T_eq)
diff --git a/1895/CH6/EX6.9/EXAMPLE6_9.SCE b/1895/CH6/EX6.9/EXAMPLE6_9.SCE
new file mode 100755
index 000000000..c723d2e5f
--- /dev/null
+++ b/1895/CH6/EX6.9/EXAMPLE6_9.SCE
@@ -0,0 +1,21 @@
+//ANALOG AND DIGITAL COMMUNICATION
+//BY Dr.SANJAY SHARMA
+//CHAPTER 6
+//NOISE
+clear all;
+clc;
+printf("EXAMPLE 6.9(PAGENO 302)");
+
+//given
+R_eq = 2518//equivalent resistance in ohms
+R_t = 600//input impedence in ohms
+R_a= 50//output impedencre in ohms
+
+//calculations
+R_eq1 = R_eq - R_t;
+F = 1 + (R_eq1/R_a) //noise figure
+F_dB = 10*log10(F)//noise figure in dB
+
+//results
+printf("\n\nNoise figure in dB = %.2f dB",F_dB);
+printf("\n\nNote:Calculation mistake is their in text book in finding noise figure in dB")