summaryrefslogtreecommitdiff
path: root/3637/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3637/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3637/CH2/EX2.8/Ex2_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3637/CH2/EX2.8/Ex2_8.sce b/3637/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..81e348027
--- /dev/null
+++ b/3637/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,11 @@
+//problem 8 pagenumber 2.92
+//given
+format(6);
+ii1=2e-3;//A
+rf1=2e3;//ohm
+r0=2e3;//ohm
+i0=-(ii1+(ii1*rf1)/r0)
+
+disp('Output current = '+string(i0*10^3)+' mA');
+
+