summaryrefslogtreecommitdiff
path: root/2409/CH12/EX12.7/Ex12_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2409/CH12/EX12.7/Ex12_7.sce')
-rwxr-xr-x2409/CH12/EX12.7/Ex12_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2409/CH12/EX12.7/Ex12_7.sce b/2409/CH12/EX12.7/Ex12_7.sce
new file mode 100755
index 000000000..8537f2f4c
--- /dev/null
+++ b/2409/CH12/EX12.7/Ex12_7.sce
@@ -0,0 +1,19 @@
+
+//Variable Declaration
+
+Tant=35 //Antenna noise temperature(kelvin)
+Te1=150 //Receiver noise temperature(kelvin)
+L=5 //Cable Loss (dB)
+T0=290
+G1=10**5 //LNA Gain
+F=12 //Receiver Noise figure(dB)
+
+//Calculation
+
+L=10**(L/10) //Converting L into ratio
+F=10**(F/10) //Converting F into ratio
+Ts=Tant+Te1+(L-1)*T0/G1+L*(F-1)*T0/G1 //Noise Temperature referred to the input(Kelvin)
+
+//Result
+printf("The noise temperature referred to the input is %.0f Kelvini",Ts)
+