summaryrefslogtreecommitdiff
path: root/2528/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2528/CH5/EX5.2/Ex5_2.sce
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 '2528/CH5/EX5.2/Ex5_2.sce')
-rwxr-xr-x2528/CH5/EX5.2/Ex5_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2528/CH5/EX5.2/Ex5_2.sce b/2528/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..8c725f758
--- /dev/null
+++ b/2528/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,15 @@
+//Chapter 5
+//page 135
+//Example no 5-2
+//Given
+clc;
+clear;
+Rf=10000; //in Ohm
+Ri=2000; //in Ohm
+Av=-Rf/Ri;
+printf("\n Av = %.0f ",Av);//Result
+Av1=20*log10(-Av);
+printf("\n Av in %.0f bB",Av1);//Result
+//for noise gain
+An=1+Rf/Ri;
+printf("\n Anoise =%.0f ",An); //Result