diff options
Diffstat (limited to '620/CH7')
-rw-r--r-- | 620/CH7/EX7.1/example7_1.sce | 16 | ||||
-rw-r--r-- | 620/CH7/EX7.1/example7_1.txt | bin | 0 -> 672 bytes | |||
-rw-r--r-- | 620/CH7/EX7.10/example7_10.sce | 22 | ||||
-rw-r--r-- | 620/CH7/EX7.10/example7_10.txt | bin | 0 -> 396 bytes | |||
-rw-r--r-- | 620/CH7/EX7.2/example7_2.sce | 23 | ||||
-rw-r--r-- | 620/CH7/EX7.2/example7_2.txt | bin | 0 -> 924 bytes | |||
-rw-r--r-- | 620/CH7/EX7.3/example7_3.sce | 26 | ||||
-rw-r--r-- | 620/CH7/EX7.3/example7_3.txt | bin | 0 -> 794 bytes | |||
-rw-r--r-- | 620/CH7/EX7.4/example7_4.sce | 50 | ||||
-rw-r--r-- | 620/CH7/EX7.4/example7_4.txt | bin | 0 -> 2068 bytes | |||
-rw-r--r-- | 620/CH7/EX7.5/example7_5.sce | 18 | ||||
-rw-r--r-- | 620/CH7/EX7.5/example7_5.txt | bin | 0 -> 256 bytes | |||
-rw-r--r-- | 620/CH7/EX7.6/example7_6.sce | 23 | ||||
-rw-r--r-- | 620/CH7/EX7.6/example7_6.txt | bin | 0 -> 722 bytes | |||
-rw-r--r-- | 620/CH7/EX7.7/example7_7.sce | 8 | ||||
-rw-r--r-- | 620/CH7/EX7.7/example7_7.txt | bin | 0 -> 248 bytes | |||
-rw-r--r-- | 620/CH7/EX7.8/example7_8.sce | 31 | ||||
-rw-r--r-- | 620/CH7/EX7.8/example7_8.txt | bin | 0 -> 1568 bytes | |||
-rw-r--r-- | 620/CH7/EX7.9/example7_9.sce | 25 | ||||
-rw-r--r-- | 620/CH7/EX7.9/example7_9.txt | bin | 0 -> 674 bytes |
20 files changed, 242 insertions, 0 deletions
diff --git a/620/CH7/EX7.1/example7_1.sce b/620/CH7/EX7.1/example7_1.sce new file mode 100644 index 000000000..7666294e1 --- /dev/null +++ b/620/CH7/EX7.1/example7_1.sce @@ -0,0 +1,16 @@ +disp("Part a");
+r1=40;
+r2=60;
+r3=24;
+r=r1*r2/(r1+r2)+r3;
+disp("the total resistance (in Ω) of the circuit is"); disp(r);
+disp("Part b");
+v=48;
+i=v/r;
+disp("the current drawn (in A) from the source is"); disp(i);
+disp("Part c");
+i1=i*r1/(r1+r2);
+disp("the current drawn (in A) through the 60 Ω resistor is"); disp(i1);
+disp("Part d");
+v3=i*r3;
+disp("the volatge (in V) across the 24 Ω resistor is"); disp(v3);
\ No newline at end of file diff --git a/620/CH7/EX7.1/example7_1.txt b/620/CH7/EX7.1/example7_1.txt Binary files differnew file mode 100644 index 000000000..3711c2738 --- /dev/null +++ b/620/CH7/EX7.1/example7_1.txt diff --git a/620/CH7/EX7.10/example7_10.sce b/620/CH7/EX7.10/example7_10.sce new file mode 100644 index 000000000..02b407339 --- /dev/null +++ b/620/CH7/EX7.10/example7_10.sce @@ -0,0 +1,22 @@ +r2=1.5;
+r3=4;
+r4=3;
+v=9;
+disp("Part a");
+r1_1=2.2;
+v3_1=v*r3/(r3+r1_1);
+v4=v*r4/(r4+r2);
+v01=v4-v3_1;
+disp("the value of V0 (in V) is"); disp(v01);
+disp("Part b");
+r1_2=2;
+v3_2=v*r3/(r3+r1_2);
+v4=v*r4/(r4+r2);
+v02=v4-v3_2;
+disp("the value of V0 (in V) is"); disp(v02);
+disp("Part c");
+r1_3=1.8;
+v3_3=v*r3/(r3+r1_3);
+v4=v*r4/(r4+r2);
+v03=v4-v3_3;
+disp("the value of V0 (in V) is"); disp(v03);
\ No newline at end of file diff --git a/620/CH7/EX7.10/example7_10.txt b/620/CH7/EX7.10/example7_10.txt Binary files differnew file mode 100644 index 000000000..8e5b6b99a --- /dev/null +++ b/620/CH7/EX7.10/example7_10.txt diff --git a/620/CH7/EX7.2/example7_2.sce b/620/CH7/EX7.2/example7_2.sce new file mode 100644 index 000000000..99de7070f --- /dev/null +++ b/620/CH7/EX7.2/example7_2.sce @@ -0,0 +1,23 @@ +disp("Part a");
+r1=8;
+r2=12;
+r3=6;
+r4=12;
+r=r1+r4+r2*r3/(r2+r3);
+disp("the total resistance (in Ω) is"); disp(r);
+disp("Part b");
+v=72;
+i=v/r;
+disp("the current (in A) delivered by the battery is"); disp(i);
+disp("Part c");
+v1=i*r1;
+disp("voltage drop (in V) across R1 is"); disp(v1);
+v2=i*r2*r3/(r2+r3);
+disp("voltage drop (in V) across R and R3 is"); disp(v2);
+v4=i*r4;
+disp("voltage drop (in V) across R4 is"); disp(v4);
+disp("Part d");
+i2=v2/r2;
+disp("the current (in A) through R2 is"); disp(i2);
+i3=v2/r3;
+disp("the current (in A) through R3 is"); disp(i3);
\ No newline at end of file diff --git a/620/CH7/EX7.2/example7_2.txt b/620/CH7/EX7.2/example7_2.txt Binary files differnew file mode 100644 index 000000000..287732c24 --- /dev/null +++ b/620/CH7/EX7.2/example7_2.txt diff --git a/620/CH7/EX7.3/example7_3.sce b/620/CH7/EX7.3/example7_3.sce new file mode 100644 index 000000000..ba9126d3b --- /dev/null +++ b/620/CH7/EX7.3/example7_3.sce @@ -0,0 +1,26 @@ +r1=1;
+r2=2;
+r3=4;
+r4=3;
+r5=5;
+v=40;
+disp("Part a");
+r_1=r2+r3;
+r_2=r_1*r4/(r4+r_1);
+r_3=r1+r_2;
+r=r5*r_3/(r5+r_3);
+disp("the total resistance (in kΩ) is"); disp(r);
+disp("Part b");
+i=v/r;
+disp("the current drawn (in mA) from the source is"); disp(i);
+disp("Part c");
+p=v*i;
+disp("the total power delivered (in mW) by the source is"); disp(p);
+disp("Part d");
+i1=v/r_3;
+i4=i*r_1/(r_1+r4);
+p4=i4^2*r4
+disp("Power dissipated (in mW) is"); disp(p4);
+disp("Part e");
+v1=i1*r1;
+disp("Voltage drop (n V) across R1 is"); disp(v1);
\ No newline at end of file diff --git a/620/CH7/EX7.3/example7_3.txt b/620/CH7/EX7.3/example7_3.txt Binary files differnew file mode 100644 index 000000000..d3c792b91 --- /dev/null +++ b/620/CH7/EX7.3/example7_3.txt diff --git a/620/CH7/EX7.4/example7_4.sce b/620/CH7/EX7.4/example7_4.sce new file mode 100644 index 000000000..124a3fcc7 --- /dev/null +++ b/620/CH7/EX7.4/example7_4.sce @@ -0,0 +1,50 @@ +v_1=10;
+v_2=30;
+r1=1;
+r2=2.2;
+r3=3.3;
+r4=4.7;
+r5=5.1;
+r6=6.8;
+disp("Part a");
+r_1=r1*r2/(r1+r2);
+r_2=1/(1/r4+1/r5+1/r6);
+r=r_1+r_2+r3;
+disp("the total circuit resistance (in kΩ) is"); disp(r);
+disp("Part b");
+v=v_2-v_1;
+i=v/r;
+disp("the total supply current (in mA) is"); disp(i);
+disp("Part c");
+i1=i*r2/(r1+r2);
+disp("current (in mA) through R1 is"); disp(i1);
+i2=i*r1/(r1+r2);
+disp("current (in mA) through R2 is"); disp(i2);
+disp("Part d");
+v2=i2*r2;
+disp("voltage drop (in V) across R2 is"); disp(v2);
+disp("Part e");
+v3=i*r3;
+disp("voltage drop (in V) across R3 is"); disp(v3);
+disp("Part f");
+v5=i*r_2;
+disp("voltage drop (in V) across R5 is"); disp(v5);
+disp("Part g");
+i4=v5/r4;
+disp("current (in mA) through R4 is"); disp(i4);
+i5=v5/r5;
+disp("current (in mA) through R5 is"); disp(i5);
+i6=v5/r6;
+disp("current (in mA) through R6 is"); disp(i6);
+disp("Part h");
+vba=v_2-v2;
+disp("Voltage (in V) of A w.r.t. B is"); disp(vba);
+disp("Part i");
+p2=v_2*i;
+disp("Power delivered (in mW) by V2 is"); disp(p2);
+disp("Part j");
+p=i^2*r;
+disp("Power dissipated (in mW) by all resistors is"); disp(p);
+disp("Part k");
+p1=v_1*i;
+disp("power delivered (in mW) in recharging V1 is"); disp(p1);
\ No newline at end of file diff --git a/620/CH7/EX7.4/example7_4.txt b/620/CH7/EX7.4/example7_4.txt Binary files differnew file mode 100644 index 000000000..68a977fbe --- /dev/null +++ b/620/CH7/EX7.4/example7_4.txt diff --git a/620/CH7/EX7.5/example7_5.sce b/620/CH7/EX7.5/example7_5.sce new file mode 100644 index 000000000..c15b683ce --- /dev/null +++ b/620/CH7/EX7.5/example7_5.sce @@ -0,0 +1,18 @@ +r1=1;
+r2=3;
+r3=3;
+r4=2.5;
+r5=6;
+r6=6;
+r7=6;
+r8=3;
+r9=2.5;
+v=24;
+r_1=r2*r3/(r2+r3);
+r_2=r5/3;
+r_3=r1+r4+r_1;
+r_4=r_2+r8;
+r=1/(1/r_3+1/r_4+1/r9);
+disp("the total resistance (in kΩ) is"); disp(r);
+i=v/r;
+disp("the total current supplied (in mA) by the source is"); disp(i);
\ No newline at end of file diff --git a/620/CH7/EX7.5/example7_5.txt b/620/CH7/EX7.5/example7_5.txt Binary files differnew file mode 100644 index 000000000..51e02f020 --- /dev/null +++ b/620/CH7/EX7.5/example7_5.txt diff --git a/620/CH7/EX7.6/example7_6.sce b/620/CH7/EX7.6/example7_6.sce new file mode 100644 index 000000000..ffe80c236 --- /dev/null +++ b/620/CH7/EX7.6/example7_6.sce @@ -0,0 +1,23 @@ +V=220;
+i1=16;
+r2=20;
+l=200;
+disp("Part a");
+v=V-V/10;
+i2=v/r2;
+i=i1+i2;
+r=V/(10*i);
+r_line=r/2;
+r0=1.72*10^(-8);
+a=r0*l/r_line;
+d=sqrt(4*a/%pi);
+disp("the minimum diameter of the wire (in mm) is");disp(d*10^3);
+disp("Hence the minimum AWG size of wire is gauge number 8");
+disp("Part b");
+p=i^2*r;
+disp("Power dissipated (in W) to the line is"); disp(p);
+disp("Part c");
+pl=v*i;
+disp("Power delivered (in W) to the load is"); disp(pl);
+ps=p+pl;
+disp("Power supplied (in W) by source is"); disp(ps);
\ No newline at end of file diff --git a/620/CH7/EX7.6/example7_6.txt b/620/CH7/EX7.6/example7_6.txt Binary files differnew file mode 100644 index 000000000..5a5967406 --- /dev/null +++ b/620/CH7/EX7.6/example7_6.txt diff --git a/620/CH7/EX7.7/example7_7.sce b/620/CH7/EX7.7/example7_7.sce new file mode 100644 index 000000000..dc47f1cc2 --- /dev/null +++ b/620/CH7/EX7.7/example7_7.sce @@ -0,0 +1,8 @@ +v1=9;
+v2=12;
+i=100*10^(-3);
+v=v2-v1;
+r=v/i;
+disp("the value of the resistor (in Ω) is"); disp(r);
+p=v*i;
+disp("power rating (in W) of the required resistor is"); disp(p);
\ No newline at end of file diff --git a/620/CH7/EX7.7/example7_7.txt b/620/CH7/EX7.7/example7_7.txt Binary files differnew file mode 100644 index 000000000..9f2b7b86c --- /dev/null +++ b/620/CH7/EX7.7/example7_7.txt diff --git a/620/CH7/EX7.8/example7_8.sce b/620/CH7/EX7.8/example7_8.sce new file mode 100644 index 000000000..3b2346b78 --- /dev/null +++ b/620/CH7/EX7.8/example7_8.sce @@ -0,0 +1,31 @@ +v1=9;
+v2=12;
+i=0.1;
+disp("Part a");
+i1=0.03;
+is1=i1+i;
+v=v2-v1;
+rs1=v/is1;
+disp("the value of resistance (in Ω) of the series-dropping resistor is"); disp(rs1);
+ps1=v*is1;
+disp("Power rating (in W) of the series-dropping resistor is"); disp(ps1);
+rb1=v1/i1;
+disp("the value of resistance (in Ω) of the bleeder resistor is"); disp(rb1);
+pb1=v1*i1;
+disp("Power rating (in W) of the bleeder resistor is"); disp(pb1);
+v01=v2*rb1/(rb1+rs1);
+disp("the no load voltage (in V) is"); disp(v01);
+disp("Part b");
+i2=0.1
+is2=i2+i;
+v=v2-v1;
+rs2=v/is2;
+disp("the value of resistance (in Ω) of the series-dropping resistor is"); disp(rs2);
+ps2=v*is2;
+disp("Power rating (in W) of the series-dropping resistor is"); disp(ps2);
+rb2=v1/i2;
+disp("the value of resistance (in Ω) of the bleeder resistor is"); disp(rb2);
+pb2=v1*i2;
+disp("Power rating (in W) of the bleeder resistor is"); disp(pb2);
+v02=v2*rb2/(rb2+rs2);
+disp("the no load voltage (in V) is"); disp(v02);
\ No newline at end of file diff --git a/620/CH7/EX7.8/example7_8.txt b/620/CH7/EX7.8/example7_8.txt Binary files differnew file mode 100644 index 000000000..7dc30bed7 --- /dev/null +++ b/620/CH7/EX7.8/example7_8.txt diff --git a/620/CH7/EX7.9/example7_9.sce b/620/CH7/EX7.9/example7_9.sce new file mode 100644 index 000000000..7cfea81ff --- /dev/null +++ b/620/CH7/EX7.9/example7_9.sce @@ -0,0 +1,25 @@ +i=0.1;
+ia=0.01;
+ib=0.05;
+ic=0.02;
+va=-25;
+vb=-15;
+vc=15;
+ir1=i-ia;
+ir2=ir1-ib;
+ir3=i-ic;
+vr1=-va+vb;
+r1=vr1/ir1;
+disp("the resistance value (in Ω) of R1 is"); disp(r1);
+p1=vr1*ir1;
+disp("power rating (in W) of R1 is"); disp(p1);
+vr2=-vb;
+r2=vr2/ir2;
+disp("the resistance value (in Ω) of R2 is"); disp(r2);
+p2=vr2*ir2;
+disp("power rating (in W) of R2 is"); disp(p2);
+vr3=vc;
+r3=vr3/ir3;
+disp("the resistance value (in Ω) of R3 is"); disp(r3);
+p3=vr3*ir3;
+disp("power rating (in W) of R3 is"); disp(p3);
\ No newline at end of file diff --git a/620/CH7/EX7.9/example7_9.txt b/620/CH7/EX7.9/example7_9.txt Binary files differnew file mode 100644 index 000000000..e8eb3680a --- /dev/null +++ b/620/CH7/EX7.9/example7_9.txt |