diff options
Diffstat (limited to '1850/CH5/EX5.4/exa_5_4.sce')
-rwxr-xr-x | 1850/CH5/EX5.4/exa_5_4.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1850/CH5/EX5.4/exa_5_4.sce b/1850/CH5/EX5.4/exa_5_4.sce new file mode 100755 index 000000000..18a27f27e --- /dev/null +++ b/1850/CH5/EX5.4/exa_5_4.sce @@ -0,0 +1,17 @@ +// Exa 5.4
+clc;
+clear;
+close;
+// Given data
+V1= 2;// in volt
+V2= -1;// in volt
+// Let R1= (R||R)/(R+(R||R))= (R/2)/(R+R/2) = 1/3
+R1=1/3;
+Vs1= V1*R1;// in volt
+// Let R2= (1+Rf/R)= (1+2*R/R)= 3
+R2= 3;
+Vo_desh= Vs1*R2;// in volt
+Vs2= V2*R1;// in volt
+Vo_doubleDesh= Vs2*R2;// in volt
+V_out= Vo_desh+Vo_doubleDesh;// in volt
+disp(V_out,"Output voltage in volt")
|