diff options
Diffstat (limited to '3556/CH2')
-rw-r--r-- | 3556/CH2/EX2.1/Ex2_1.sce | 25 | ||||
-rw-r--r-- | 3556/CH2/EX2.10/Ex2_10.sce | 49 | ||||
-rw-r--r-- | 3556/CH2/EX2.11/Ex2_11.sce | 32 | ||||
-rw-r--r-- | 3556/CH2/EX2.12/Ex2_12.sce | 39 | ||||
-rw-r--r-- | 3556/CH2/EX2.13/Ex2_13.sce | 45 | ||||
-rw-r--r-- | 3556/CH2/EX2.14/Ex2_14.sce | 34 | ||||
-rw-r--r-- | 3556/CH2/EX2.15/Ex2_15.sce | 50 | ||||
-rw-r--r-- | 3556/CH2/EX2.16/Ex2_16.sce | 48 | ||||
-rw-r--r-- | 3556/CH2/EX2.17/Ex2_17.sce | 36 | ||||
-rw-r--r-- | 3556/CH2/EX2.2/Ex2_2.sce | 39 | ||||
-rw-r--r-- | 3556/CH2/EX2.5/Ex2_5.sce | 29 | ||||
-rw-r--r-- | 3556/CH2/EX2.6/Ex2_6.sce | 30 | ||||
-rw-r--r-- | 3556/CH2/EX2.7/Ex2_7.sce | 26 | ||||
-rw-r--r-- | 3556/CH2/EX2.9/Ex2_9.sce | 41 |
14 files changed, 523 insertions, 0 deletions
diff --git a/3556/CH2/EX2.1/Ex2_1.sce b/3556/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..148dbf6b3 --- /dev/null +++ b/3556/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,25 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 1
+
+clear; clc; close;
+//
+// Given data
+v = 120.00;
+i = 2.00;
+//
+//
+// Calculations Resistance
+R = v/i;
+//
+// Display the result
+disp("Example 2-1 Solution : ");
+printf(" \n R : Resistance = %.3f Ohm ", R);
+
+
diff --git a/3556/CH2/EX2.10/Ex2_10.sce b/3556/CH2/EX2.10/Ex2_10.sce new file mode 100644 index 000000000..a8e3608e1 --- /dev/null +++ b/3556/CH2/EX2.10/Ex2_10.sce @@ -0,0 +1,49 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 10
+
+clear; clc; close; // Clear the work space and console.
+//
+// Given data
+Rac = 10;
+Rcd = 1;
+Rcb1 = 6;
+Rcb2 = 3;
+Rdb1 = 12;
+Rdb2 = 4;
+Rdb31 = 1;
+Rdb32 = 5;
+//
+//
+// Calculations
+// Calculations Rdb3
+Rdb3 = Rdb31 + Rdb32;
+// Calculations Rp1
+Rp1 = (Rdb1*Rdb2)/(Rdb1+Rdb2);
+// Calculations Rp2
+Rp2 = (Rcb1*Rcb2)/(Rcb1+Rcb2);
+// Calculations Rp3
+Rp3 = (Rp1*Rdb3)/(Rp1+Rdb3);
+// Calculations Rs1
+Rs1 = Rcd + Rp3;
+// Calculations Rp4
+Rp4 = (Rp2*Rs1)/(Rp2+Rs1);
+// Calculations Resistance Equivalent
+Reg = Rac + Rp4;
+//
+// Display the result
+disp("Example 2-10 Solution : ");
+printf(" \n Rdb3 = Rdb31 Series Rdb32 = %.3f ohm",Rdb3)
+printf(" \n Rp1 = Rdb1 Parallel Rdb2 = %.3f ohm",Rp1)
+printf(" \n Rp2 = Rcb1 Parallel Rcb2 = %.3f ohm",Rp2)
+printf(" \n Rp3 = Rp1 Parallel Rdb3 = %.3f ohm",Rp3)
+printf(" \n Rs1 = Rcd Series Rp3 = %.3f ohm",Rs1)
+printf(" \n Rp4 = Rp2 Parallel Rs1 = %.3f ohm",Rp4)
+printf(" \n Reg = Rac + Rp4 = %.3f ohm",Reg)
+
diff --git a/3556/CH2/EX2.11/Ex2_11.sce b/3556/CH2/EX2.11/Ex2_11.sce new file mode 100644 index 000000000..c6c8e2d26 --- /dev/null +++ b/3556/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,32 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 11
+
+clear; clc; close;
+//
+// Given data
+G12 = 12.00;
+G8 = 8.00;
+G5 = 5.00;
+G6 = 6.00;
+//
+// Calculations
+// Calculations RP1
+GP1 = G12 + G8;
+// Calculations GS1
+GS1 = (GP1*G5)/(GP1 + G5);
+// Calculations Reg
+Geg = (GS1 + G6);
+//
+// Display the result
+disp("Example 2-11 Solution : ");
+printf(" \n GP1 = G12 Parallel G8 = %.3f mho",GP1)
+printf(" \n GS1 = GP1 Series G5 = %.3f mho",GS1)
+printf(" \n Geg = GS1 Parallel G6 = %.3f mho",Geg)
+
diff --git a/3556/CH2/EX2.12/Ex2_12.sce b/3556/CH2/EX2.12/Ex2_12.sce new file mode 100644 index 000000000..c64d7ca3f --- /dev/null +++ b/3556/CH2/EX2.12/Ex2_12.sce @@ -0,0 +1,39 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 12
+
+clear; clc; close;
+//
+// Given data
+V = 12.00;
+R4 = 4.00;
+R6 = 6.00;
+R3 = 3.00;
+//
+// Calculations
+// Calculations RP1
+RP1 = (R3*R6)/(R3 + R6);
+// Calculations Total Current
+I = V/(RP1+R4);
+// Calculations Vo
+Vo = (RP1/(RP1+R4))*V
+// Calcukations Io
+Io = Vo/R3;
+// Calculatiuons power dissipated in the 3 ohm resistor
+Po = Vo * Io;
+//
+// Display the result
+disp("Example 2-12 Solution : ");
+printf(" \n Vo : Voltage in the 3 Ohm Resistor = %.3f Volt ", Vo);
+printf(" \n Io : Current in the 3 Ohm Resistor = %.3f Ampere ", Io);
+printf(" \n Po : Power Dissipated in the 3 Ohm Resistor = %.3f Watt ", Po);
+
+
+
+
diff --git a/3556/CH2/EX2.13/Ex2_13.sce b/3556/CH2/EX2.13/Ex2_13.sce new file mode 100644 index 000000000..67c26d2ae --- /dev/null +++ b/3556/CH2/EX2.13/Ex2_13.sce @@ -0,0 +1,45 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 13
+
+clear; clc; close;
+//
+// Given data
+I = 30.00/1000;
+R6 = 6.00*1000;
+R12 = 12.00*1000;
+R9 = 9.00*1000;
+//
+// Calculations
+// Calculations RP1
+RP1 = (R6 + R12);
+// Calculations current branch 1
+I1 = (RP1/(RP1+ R9))* I;
+// Calculations current branch 2
+I2 = (R9/(RP1 + R9))* I;
+// Calcukations Vo
+Vo = R9*I1
+// Calculatiuons Po
+Po = Vo * I;
+// Calculations P9
+P9 = (I1^2)*R9;
+// Calculations P6
+P6 = (I2^2) * R6;
+// Calculations P12
+P12 = (I2^2) * R12;
+//
+// Display the result
+disp("Example 2-13 Solution : ");
+printf(" \n Vo : Voltage in the 9 Ohm Resistor = %.3f Volt ",Vo);
+printf(" \n Po : Power supllied by the source = %.3f Watt ",Po);
+printf(" \n P9 : Power absorbed in the 9 ohm resistor = %.3f Watt ",P9);
+printf(" \n P6 : Power absorbed in the 6 ohm resistor = %.3f Watt ",P6);
+printf(" \n P12 : Power absorbed in the 12 ohm resistor = %.3f Watt ",P12);
+
+
diff --git a/3556/CH2/EX2.14/Ex2_14.sce b/3556/CH2/EX2.14/Ex2_14.sce new file mode 100644 index 000000000..118a790d3 --- /dev/null +++ b/3556/CH2/EX2.14/Ex2_14.sce @@ -0,0 +1,34 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 14
+
+clear; clc; close;
+//
+// Given data
+Ra = 15;
+Rb = 10;
+Rc = 25;
+
+//
+// Calculations
+// Convert Delta Network to Equivalent Y Network
+// Calculations Rtot
+Rtot = Ra + Rb + Rc;
+// Calculations R1
+R1 = (Rb*Rc)/Rtot;
+// Calculations R2
+R2 = (Rc*Ra)/Rtot;
+// Calculations R3
+R3 = (Ra*Rb)/Rtot;
+//
+// Display the result
+disp("Example 2-14 Solution : ");
+printf(" \n R1 : Resistance 1 = %.3f Ohm ", R1);
+printf(" \n R2 : Resistance 2 = %.3f Ohm ", R2);
+printf(" \n R3 : Resistance 3 = %.3f ohm ", R3);
diff --git a/3556/CH2/EX2.15/Ex2_15.sce b/3556/CH2/EX2.15/Ex2_15.sce new file mode 100644 index 000000000..6bcc0beaa --- /dev/null +++ b/3556/CH2/EX2.15/Ex2_15.sce @@ -0,0 +1,50 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 15
+
+clear; clc; close;
+//
+// Given data
+V = 120.00;
+Rac = 12.50;
+Rcb = 15.00;
+Rcn = 5.00;
+Rbn = 20.00;
+Ran = 10.00;
+Rab = 30.00;
+//
+// Calculations
+// Convert Y Network to Equivalent Delta Network
+// Calculations Rabc
+Rabc = (Ran*Rbn)+ (Rbn*Rcn) + (Rcn*Ran)
+// Calculations Ra
+Ra = Rabc/Ran;
+// Calculations Rb
+Rb = Rabc/Rbn;
+// Calculations Rc
+Rc = Rabc/Rcn;
+// Calculations RP1
+RP1 = (Rc*Rab)/(Rc+Rab);
+// Calculations RP2
+RP2 = (Rb*Rac)/(Rb+Rac);
+// Calculations RP3
+RP3 = (Ra*Rcb)/(Ra+Rcb);
+// Calculations RS1
+RS1 = RP2 + RP3;
+// Calculations Req
+Req = (RP1*RS1)/(RP1 + RS1)
+// Calculations Current (I)
+I = V/Req
+// Display the result
+disp("Example 2-15 Solution : ");
+printf(" \n Rab : Resistance Equivalen(Rab) = %.3f Ohm ",Req);
+printf(" \n I : Current (I) = %.3f A",I);
+
+
+
diff --git a/3556/CH2/EX2.16/Ex2_16.sce b/3556/CH2/EX2.16/Ex2_16.sce new file mode 100644 index 000000000..ba7584f28 --- /dev/null +++ b/3556/CH2/EX2.16/Ex2_16.sce @@ -0,0 +1,48 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 16
+
+clear; clc; close;
+//
+// Given data
+V = 9.00;
+p1 = 20.00;
+p2 = 15.00;
+p3 = 10.00;
+//
+// Calculations
+// Calculations Ptot
+Ptot = p1 + p2 + p3
+// Calculations Itot
+Itot = Ptot/V;
+// Calculations I1
+I1 = p1/V;
+// Calculations I2 and I3
+I2 = Itot - I1;
+I3 = I2; //
+// Calculations R1
+R1 = p1/(I1^2);
+// Calculations R2
+R2 = p2/(I2^2);
+// Calculations R3
+R3 = p3/(I3^2);
+// Display the result
+disp("Example 2-16 Solution : ");
+printf(" \n I : Total current supplied the battery = %.3f A ",Itot);
+printf(" \n I1 : Current Through bulb 1 = %.3f A ",I1);
+printf(" \n I2 : Current Through bulb 2 = %.3f A ",I2);
+printf(" \n I3 : Current Through bulb 3 = %.3f A ",I3);
+printf(" \n R1 : Resistance bulb 1 = %.3f Ohm ",R1);
+printf(" \n R2 : Resistance bulb 2 = %.3f Ohm ",R2);
+printf(" \n R3 : Resistance bulb 3 = %.3f Ohm ",R3);
+
+
+
+
+
diff --git a/3556/CH2/EX2.17/Ex2_17.sce b/3556/CH2/EX2.17/Ex2_17.sce new file mode 100644 index 000000000..0ffc708d0 --- /dev/null +++ b/3556/CH2/EX2.17/Ex2_17.sce @@ -0,0 +1,36 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 17
+
+clear; clc; close;
+//
+// Given data
+V1 = 1.00;
+V2 = 5.00;
+V3 = 50.00;
+V4 = 100.00;
+Rm = 2000.00
+Ifs = 0.00010
+//
+// Calculations
+// Calculations R1
+R1 = (V1/Ifs) - Rm;
+// Calculations R2
+R2 = (V2/Ifs) - Rm;
+// Calculations R3
+R3 = (V3/Ifs) - Rm;
+// Calculations R4
+R4 = (V4/Ifs) - Rm;
+// Display the result
+disp("Example 2-17 Solution : ");
+printf(" \n R1 : Resistance for range 0 - 1 volt = %.3f Kilo-ohm ",R1/1000);
+printf(" \n R2 : Resistance for range 0 - 5 volt = %.3f Kilo-ohm ",R2/1000);
+printf(" \n R3 : Resistance for range 0 - 50 volt = %.3f Kilo-ohm ",R3/1000);
+printf(" \n R4 : Resistance for range 0 - 100 volt = %.3f Kilo-ohm ",R4/1000);
+
diff --git a/3556/CH2/EX2.2/Ex2_2.sce b/3556/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..425473340 --- /dev/null +++ b/3556/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,39 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 2
+
+clear; clc; close;
+//
+// Given data
+v = 30.00;
+R = 5000.00;
+//
+// Calculations Current
+i = v/R;
+// Calculations Conductance
+G = 1/R;
+// Calculation Power p1
+p1 = v*i;
+// Calculation Power p2 - Various Way
+p2 = (i^2)*R;
+// Calculation Power p3 - Various Way
+p3 = (v^2)*G;
+//
+// Display the result
+disp("Example 2-2 Solution : ");
+printf(" \n i : Current = %.3f A ", i);
+printf(" \n P : Power = %.3f Watt",p1);
+printf(" \n P : Power = %.3f Watt ",p2);
+printf(" \n P : Power = %.3f Watt ",p3);
+//
+disp("Another Solution : ");
+printf(" \n i : Current = %.3f mA ", i*1000);
+printf(" \n P : Power = %.3f mWatt",p1*1000);
+printf(" \n P : Power = %.3f mWatt ",p2*1000);
+printf(" \n P : Power = %.3f mWatt ",p3*1000);
diff --git a/3556/CH2/EX2.5/Ex2_5.sce b/3556/CH2/EX2.5/Ex2_5.sce new file mode 100644 index 000000000..d614bbc3f --- /dev/null +++ b/3556/CH2/EX2.5/Ex2_5.sce @@ -0,0 +1,29 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 5
+
+clear; clc; close;
+//
+// Given data
+v = 20.00;
+R1 = 2.00;
+R2 = 3.00;
+//
+// Calculations Current
+i = v/(R1 + R2);
+// Calculations Voltage (v1)
+v1 = i * R1;
+// Calculations Voltage (v2)
+v2 = i * R2;
+//
+// Display the result
+disp("Example 2-5 Solution : ");
+printf(" \n i : Current = %.3f A ", i);
+printf(" \n v1 : Voltage = %.3f Volt",v1);
+printf(" \n v2 : Voltage = %.3f Volt",v2);
diff --git a/3556/CH2/EX2.6/Ex2_6.sce b/3556/CH2/EX2.6/Ex2_6.sce new file mode 100644 index 000000000..f8a3b50ed --- /dev/null +++ b/3556/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,30 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 6
+
+clear; clc; close;
+//
+// Given data
+v1 = -12.00;
+v2 = -4.00;
+R1 = 4.00;
+R2 = 6.00;
+//
+// vo = -6i
+// 2vo = -12i
+// Calculations Current
+v = -(v1 + v2);
+i = v/(R1 + R2 - 12);
+// Calculations Voltage (v0)
+vo = -6*i;
+//
+// Display the result
+disp("Example 2-6 Solution : ");
+printf(" \n i : Current = %.3f A ", i);
+printf(" \n v1 : Voltage = %.3f Volt",vo);
diff --git a/3556/CH2/EX2.7/Ex2_7.sce b/3556/CH2/EX2.7/Ex2_7.sce new file mode 100644 index 000000000..c4daa3401 --- /dev/null +++ b/3556/CH2/EX2.7/Ex2_7.sce @@ -0,0 +1,26 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 7
+
+clear; clc; close;
+//
+// Given data
+i = 3.00;
+R = 4.00;
+//
+
+// Calculations Current (io)
+io = 3/0.50;
+// Calculations Voltage (vo)
+vo = 4*io;
+//
+// Display the result
+disp("Example 2-7 Solution : ");
+printf(" \n io : Current = %.3f A ", io);
+printf(" \n vo : Voltage = %.3f Volt",vo);
diff --git a/3556/CH2/EX2.9/Ex2_9.sce b/3556/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..6732bc6d7 --- /dev/null +++ b/3556/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,41 @@ +clc
+// Fundamental of Electric Circuit
+// Charles K. Alexander and Matthew N.O Sadiku
+// Mc Graw Hill of New York
+// 5th Edition
+
+// Part 1 : DC Circuits
+// Chapter 2: Basic Laws
+// Example 2 - 9
+
+clear; clc; close;
+//
+// Given data
+R1 = 5;
+R2 = 1;
+R3 = 2;
+R4 = 6;
+R5 = 3;
+R6 = 8;
+R7 = 4;
+//
+// Calculations
+// R1 Series R2
+Rs1 = R1 + R2;
+// R4 Parallel R5
+Rp1 = (R4*R5)/(R4+R5);
+// R3 Series Rp1
+Rs2 = R3 + Rp1;
+// Rs2 Parallel Rs1
+Rp2 = (Rs1*Rs2)/(Rs1+Rs2);
+// Rp2 Series R6 and R7
+Reg = R6 + Rp2 + R7;
+//
+// Display the result
+disp("Example 2-9 Solution : ");
+printf(" \n Rs1 = R1 Series R2 = %.3f ohm",Rs1)
+printf(" \n Rp1 = R4 Parallel R5 = %.3f ohm",Rp1)
+printf(" \n Rs2 = R3 Parallel Rp1 = %.3f ohm",Rs2)
+printf(" \n Rp2 = Rs1 Parallel Rs1 = %.3f ohm",Rp2)
+printf(" \n Reg = R6 + Rp2 + R7 = %.3f ohm ",Reg);
+
|