summaryrefslogtreecommitdiff
path: root/3637/CH2/EX2.20
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3637/CH2/EX2.20
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3637/CH2/EX2.20')
-rw-r--r--3637/CH2/EX2.20/Ex2_20.pdfbin0 -> 83300 bytes
-rw-r--r--3637/CH2/EX2.20/Ex2_20.sce19
2 files changed, 19 insertions, 0 deletions
diff --git a/3637/CH2/EX2.20/Ex2_20.pdf b/3637/CH2/EX2.20/Ex2_20.pdf
new file mode 100644
index 000000000..f682b9b58
--- /dev/null
+++ b/3637/CH2/EX2.20/Ex2_20.pdf
Binary files differ
diff --git a/3637/CH2/EX2.20/Ex2_20.sce b/3637/CH2/EX2.20/Ex2_20.sce
new file mode 100644
index 000000000..04564fedf
--- /dev/null
+++ b/3637/CH2/EX2.20/Ex2_20.sce
@@ -0,0 +1,19 @@
+//problem 20 pagenumber 2.103
+//given
+v1=2;//volt
+v2=3;//volt
+v3=6;//volt
+v4=8;//volt
+rf1=50e3;//ohm
+r1=40e3;//ohm
+r2=25e3;//ohm
+r3=10e3;//ohm
+r4=20e3;//ohm
+r5=30e3;//ohm
+//determine output voltage
+v0x=-(v1*rf1/r1)-(v2*rf1/r2);format(5);
+req=r5*r4/(r5+r4);//combination of r4 and r5
+re1=(r3*r5)/(r3+r5);//combination of r3 and r5
+vn=req*v3/(r3+req)+(re1*v4/(r4+re1));
+v0y=(1+rf1/(r1*r2/(r1+r2)))*vn;
+disp('Output voltage = '+string(v0x+v0y)+' V');