summaryrefslogtreecommitdiff
path: root/1757/CH14/EX14.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1757/CH14/EX14.12
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1757/CH14/EX14.12')
-rwxr-xr-x1757/CH14/EX14.12/EX14_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1757/CH14/EX14.12/EX14_12.sce b/1757/CH14/EX14.12/EX14_12.sce
new file mode 100755
index 000000000..8d6f1555a
--- /dev/null
+++ b/1757/CH14/EX14.12/EX14_12.sce
@@ -0,0 +1,19 @@
+// Example14.12 // Determine the output voltage of an isolation amplifier IC ISO100
+clc;
+clear;
+close;
+Vin = 5 ; // V
+Rin = 10*10^3 ;
+Rf = 55*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 ');