diff options
Diffstat (limited to '1850/CH5/EX5.2/exa_5_2.sce')
-rwxr-xr-x | 1850/CH5/EX5.2/exa_5_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1850/CH5/EX5.2/exa_5_2.sce b/1850/CH5/EX5.2/exa_5_2.sce new file mode 100755 index 000000000..348bbb48c --- /dev/null +++ b/1850/CH5/EX5.2/exa_5_2.sce @@ -0,0 +1,14 @@ +// Exa 5.2
+clc;
+clear;
+close;
+// Given data
+Rf= 12;// in k ohm
+Rs1= 12;// in k ohm
+Rs2= 2;// in k ohm
+Rs3= 3;// in k ohm
+Vi1= 9;// in volt
+Vi2= -3;// in volt
+Vi3= -1;// in volt
+Vout= -Rf*[Vi1/Rs1+Vi2/Rs2+Vi3/Rs3];// in volt
+disp(Vout,"Output voltage in volt");
|