summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.7/EX6_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1757/CH6/EX6.7/EX6_7.sce
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/CH6/EX6.7/EX6_7.sce')
-rwxr-xr-x1757/CH6/EX6.7/EX6_7.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1757/CH6/EX6.7/EX6_7.sce b/1757/CH6/EX6.7/EX6_7.sce
new file mode 100755
index 000000000..bef784384
--- /dev/null
+++ b/1757/CH6/EX6.7/EX6_7.sce
@@ -0,0 +1,29 @@
+//Example6.7 // determine the load current and output voltage
+clc;
+clear;
+close;
+Vin = -5 ; // V
+ZL = 200 ; // ohm
+R1 = 10*10^3 ; // ohm
+R2 = 10*10^3 ; // ohm
+R3 = 1*10^3 ; // ohm
+R4 = 1*10^3 ; // ohm
+
+// the load c/n of the given voltage to c/n converter circuit is given by
+iL =-Vin/(R1*R4)*R2 ;
+disp('The load current iL is = '+string(iL)+' A');
+
+// the voltage across the load
+VL = iL*ZL;
+disp('The voltage across load VL is = '+string(VL)+' V');
+
+// the non-inverting current across i3 and i4 are
+i3 = VL/R3 ;
+disp('The non-inverting current across i3 is = '+string(i3)+' A');
+
+i4 = iL+i3 ;
+disp('The non-inverting current across i4 is = '+string(i4)+' A');
+
+// the output voltage of given voltage to current converter is given by
+Vo = (iL*R3)+VL ;
+disp('The output voltage of given voltage to current converter is = '+string(Vo)+' V');