summaryrefslogtreecommitdiff
path: root/1757/CH14/EX14.13
diff options
context:
space:
mode:
Diffstat (limited to '1757/CH14/EX14.13')
-rwxr-xr-x1757/CH14/EX14.13/EX14_13.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1757/CH14/EX14.13/EX14_13.sce b/1757/CH14/EX14.13/EX14_13.sce
new file mode 100755
index 000000000..bb3ebb7d1
--- /dev/null
+++ b/1757/CH14/EX14.13/EX14_13.sce
@@ -0,0 +1,20 @@
+// Example14.13 // Determine the output voltage of an isolation amplifier IC ISO100
+clc;
+clear;
+close;
+Vin = 12 ; // V
+Rin = 1*10^3 ;
+Rf = 17*10^3 ; // ohm // feedback resistance
+
+// the input voltage of an amplifier 1
+// Vin = Rin*Iin
+Iin = Vin/Rin ;
+disp('The input current is = '+string(Iin)+' A ');
+
+// In isolation amplifier ISO 100 the input current Iin is equal to the output current Iout , but both are opposite in direction
+// Iin = -Iout
+// the output of an op-amp
+// Vo = -Rf*Iout
+Vo = Rf*Iin;
+disp('The output of an op-amp is = '+string(Vo)+' V ');
+