summaryrefslogtreecommitdiff
path: root/2498/CH6/EX6.m.22
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH6/EX6.m.22
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 '2498/CH6/EX6.m.22')
-rwxr-xr-x2498/CH6/EX6.m.22/ex_m_6_22.sce21
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.")