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 /2498/CH6/EX6.m.22 | |
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 '2498/CH6/EX6.m.22')
-rwxr-xr-x | 2498/CH6/EX6.m.22/ex_m_6_22.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2498/CH6/EX6.m.22/ex_m_6_22.sce b/2498/CH6/EX6.m.22/ex_m_6_22.sce new file mode 100755 index 000000000..47da8e780 --- /dev/null +++ b/2498/CH6/EX6.m.22/ex_m_6_22.sce @@ -0,0 +1,21 @@ +// Exa Misc. 6.22
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+R_S3 = 10;// in k ohm
+R_S2 = R_S3;// in k ohm
+R_S1 = R_S3;// in k ohm
+Rf = 10;// in k ohm
+Vs1 = 0.2;// in V
+Vs2 = 0.5;// in V
+Vs3 = 0.8;// in V
+// I = I1+6I2+I3;
+// I = (Vs1/R_S1) + (Vs2/R_S2) + (Vs3/R_S3);
+// I = - If;
+// Vo = -If*Rf;
+Vo = (Rf/R_S1)*(Vs1+Vs2+Vs3);// in V (as R_S1= R_S2=R_S3)
+disp(Vo,"The value of Vo in volts is : ");
+disp("But the supply voltage of 10 V is used, so the op-amp will reach in saturation.");
+disp("Hence, output voltage is -10 volts.")
|