summaryrefslogtreecommitdiff
path: root/181/CH7/EX7.57
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /181/CH7/EX7.57
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 '181/CH7/EX7.57')
-rwxr-xr-x181/CH7/EX7.57/example7_57.sce24
-rwxr-xr-x181/CH7/EX7.57/example7_57.txt2
2 files changed, 26 insertions, 0 deletions
diff --git a/181/CH7/EX7.57/example7_57.sce b/181/CH7/EX7.57/example7_57.sce
new file mode 100755
index 000000000..698f9309c
--- /dev/null
+++ b/181/CH7/EX7.57/example7_57.sce
@@ -0,0 +1,24 @@
+// Calculate voltage gain Av
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 7-57 in page 359
+
+clear; clc; close;
+
+// Given data
+gm=2*10^-3; // Transconductance in mA/V
+rd=10*10^3; // Dynamic resistance in K-ohms
+C=0.025*10^-6; // Capacitance in microF
+
+// Calculation
+Rl=(30*30)/(30+30);
+Av=(-gm*rd*Rl*10^3)/(Rl+rd);
+f1=1/(2*%pi*37.5*10^3*C);
+Avl=Av/sqrt(1+(f1/(5*10^3))^2);
+printf("(a)Av = %0.0f\n(b)Avl = %0.2f",Av,Avl);
+
+// Result
+// (a) Av = -30
+// (b) Avl = -29.94 \ No newline at end of file
diff --git a/181/CH7/EX7.57/example7_57.txt b/181/CH7/EX7.57/example7_57.txt
new file mode 100755
index 000000000..a986a5cf5
--- /dev/null
+++ b/181/CH7/EX7.57/example7_57.txt
@@ -0,0 +1,2 @@
+(a)Av = -30
+(b)Avl = -29.94 \ No newline at end of file