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/CH8/EX8.1/example_8_1.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/CH8/EX8.1/example_8_1.sce')
-rwxr-xr-x | 196/CH8/EX8.1/example_8_1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/196/CH8/EX8.1/example_8_1.sce b/196/CH8/EX8.1/example_8_1.sce new file mode 100755 index 000000000..a3e07da0f --- /dev/null +++ b/196/CH8/EX8.1/example_8_1.sce @@ -0,0 +1,13 @@ +//Chapter 8
+//Example 8-1
+//ProbOnOutputVoltage
+//Page 216, Figure 8-1
+clear;clc;
+//Given
+m = 100 ; //Differential Gain
+E1 = 10*10^-3; E2 = 10*10^-3;//input voltages
+E3 = 0*10^-3; E4 = -20*10^-3;//input voltages
+Vout1 = (m*E1)-(m*E2);//example 8-1(a)
+Vout2 = (m*E1)-(m*E3);//example 8-1(b)
+Vout3 = (m*E1)-(m*E4);//example 8-1(c)
+printf ( "\n\n Output Voltages are %.4f V, %.4f V, %.4f V ", Vout1,Vout2,Vout3)
\ No newline at end of file |