summaryrefslogtreecommitdiff
path: root/147/CH10
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /147/CH10
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '147/CH10')
-rw-r--r--147/CH10/EX10.2/Example10_2.sce13
-rw-r--r--147/CH10/EX10.2/Result10_2.txt3
-rw-r--r--147/CH10/EX10.5/Example10_5.sce21
-rw-r--r--147/CH10/EX10.5/Result10_5.txt3
4 files changed, 40 insertions, 0 deletions
diff --git a/147/CH10/EX10.2/Example10_2.sce b/147/CH10/EX10.2/Example10_2.sce
new file mode 100644
index 000000000..767c18831
--- /dev/null
+++ b/147/CH10/EX10.2/Example10_2.sce
@@ -0,0 +1,13 @@
+//input impedance Rd, Open loop voltage gain Aol, Feedback resistance Rf
+close();
+clear;
+clc;
+R1 = 1000;
+Rf = 10000;
+Rd = 1000;
+Aol = -10^(4);
+Av = Aol/(1+R1/Rf*(1-Aol)+R1/Rd);
+Avideal = -Rf/R1;
+//Percent error 'E'
+E = (Av-Avideal)/Av*100;
+mprintf('Av = %0.3f \nAvideal = %0.0f\nand percent error is %0.2f %%',Av,Avideal,E); \ No newline at end of file
diff --git a/147/CH10/EX10.2/Result10_2.txt b/147/CH10/EX10.2/Result10_2.txt
new file mode 100644
index 000000000..dcac4e9c8
--- /dev/null
+++ b/147/CH10/EX10.2/Result10_2.txt
@@ -0,0 +1,3 @@
+Av = -9.979
+Avideal = -10
+and percent error is -0.21 % \ No newline at end of file
diff --git a/147/CH10/EX10.5/Example10_5.sce b/147/CH10/EX10.5/Example10_5.sce
new file mode 100644
index 000000000..0f19db771
--- /dev/null
+++ b/147/CH10/EX10.5/Example10_5.sce
@@ -0,0 +1,21 @@
+close();
+clear;
+clc;
+//voltage gain 'Av'
+Aol = -10^(6);
+Av = 1;
+Rd = 1*10^(6); //ohm
+
+//(a)
+//writing a loop equation
+//let vs be any constant
+vs = 1;
+vo = vs/(1-(1/Aol));
+if(vs==round(vo)) then
+ mprintf("Prooved that vo=vs\n\n");
+end
+
+//(b)
+//amplifier input impedance 'Zin'
+Zin = (1-Aol)*Rd; //ohm
+mprintf("Zin = %d Tohm",Zin/(10^12)); \ No newline at end of file
diff --git a/147/CH10/EX10.5/Result10_5.txt b/147/CH10/EX10.5/Result10_5.txt
new file mode 100644
index 000000000..f9fb29311
--- /dev/null
+++ b/147/CH10/EX10.5/Result10_5.txt
@@ -0,0 +1,3 @@
+Prooved that vo=vs
+
+Zin = 1 Tohm \ No newline at end of file