summaryrefslogtreecommitdiff
path: root/620/CH29/EX29.4/example29_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH29/EX29.4/example29_4.sce')
-rw-r--r--620/CH29/EX29.4/example29_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/620/CH29/EX29.4/example29_4.sce b/620/CH29/EX29.4/example29_4.sce
new file mode 100644
index 000000000..2e3998a8f
--- /dev/null
+++ b/620/CH29/EX29.4/example29_4.sce
@@ -0,0 +1,16 @@
+ic=5/1000;
+is=0.1/1000;
+disp("Part a");
+ai=ic/is;
+disp("current gain is"); disp(ai);
+disp("Part b");
+vo=5;
+vi=0.04;
+av=vo/vi;
+disp("voltage gain is"); disp(av);
+disp("Part c");
+ri=vi/is;
+disp("input resistance (in Ω) is"); disp(ri);
+disp("Part d");
+ap=av*ai;
+disp("power gain is"); disp(ap); \ No newline at end of file