summaryrefslogtreecommitdiff
path: root/2414/CH12/EX12.13/Ex12_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '2414/CH12/EX12.13/Ex12_13.sce')
-rwxr-xr-x2414/CH12/EX12.13/Ex12_13.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2414/CH12/EX12.13/Ex12_13.sce b/2414/CH12/EX12.13/Ex12_13.sce
new file mode 100755
index 000000000..6cd9ca6b0
--- /dev/null
+++ b/2414/CH12/EX12.13/Ex12_13.sce
@@ -0,0 +1,21 @@
+clc;
+close();
+clear();
+//page no 414
+//prob no. 12.13
+//Data from ex-12
+T0=290; //K
+Fdb=9;
+F=10^(Fdb/10);
+F=8; //Approximate
+Te=(F-1)*T0;
+Ti=T0;
+k=1.38*10^-23; //Boltzmann's Constant
+B=2*10^6; //Hz
+Ni=k*Ti*B; //W
+Pi=8*10^-12; //W
+SNinput=Pi/Ni;
+SNinputdb=10*log10(SNinput);
+//Ex13 calculation
+SNoutputdB=SNinputdb-Fdb;
+mprintf(' S:Noutput(db)=%.0f dB\n',SNoutputdB);