summaryrefslogtreecommitdiff
path: root/2753/CH4/EX4.12/Ex4_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2753/CH4/EX4.12/Ex4_12.sce')
-rwxr-xr-x2753/CH4/EX4.12/Ex4_12.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2753/CH4/EX4.12/Ex4_12.sce b/2753/CH4/EX4.12/Ex4_12.sce
new file mode 100755
index 000000000..2e0d4743f
--- /dev/null
+++ b/2753/CH4/EX4.12/Ex4_12.sce
@@ -0,0 +1,15 @@
+//Example 4.12:
+clc;
+clear;
+close;
+//given data :
+Rc=10;// in k-ohm
+Rl=10;// in k-ohm
+Beta=100;
+Ri=2.5;
+Iv=2;// input voltage in mV
+Rac=Rc*Rl/(Rc+Rl);
+Av=round(Beta*Rac/Ri);
+Ov=Av*Iv*10^-3;
+format('v',4)
+disp(Ov,"Output voltage,(V) = ")