diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /196/CH5/EX5.7/example_5_7.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '196/CH5/EX5.7/example_5_7.sce')
-rwxr-xr-x | 196/CH5/EX5.7/example_5_7.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/196/CH5/EX5.7/example_5_7.sce b/196/CH5/EX5.7/example_5_7.sce new file mode 100755 index 000000000..0826412e2 --- /dev/null +++ b/196/CH5/EX5.7/example_5_7.sce @@ -0,0 +1,20 @@ +//Chapter 5
+//Example 5-7
+//ProbOnOpampParameters
+//Page 128,129, Figure 5-5
+clear;clc;
+//Given
+R = 10*10^3 ; //Resistance
+E2 = 5 ; //Source across negative terminal
+Rl = 5*10^3 ; // Load Resistance
+E1 = 0 ; // source across positive terminal
+//example 5-6(a)
+Il = (E1 - E2)/R ; //Load Current
+printf ("\n\n Load current across Rl = %.4f A " , Il )
+//example 5-6(b)
+Vl = Il * Rl ; // Voltage across Rl
+printf ("\n\n Voltage across load resistance = %.4f V " , Vl )
+//example 5-6(c)
+Vo = (2*Vl)-E2 ; //Output voltage
+printf ( "\n\n Output Voltage = %.4f V ", Vo )
+printf ( "\n\n Vl and Il are reversed in polarity and direction respectively from example 5-6. If the polarity of E2 is reversed , Il and Vl change sign but not magnitude ")
|