summaryrefslogtreecommitdiff
path: root/3556/CH1
diff options
context:
space:
mode:
Diffstat (limited to '3556/CH1')
-rw-r--r--3556/CH1/EX1.1/Ex1_1.sce22
-rw-r--r--3556/CH1/EX1.2/Ex1_2.sce20
-rw-r--r--3556/CH1/EX1.3/Ex1_3.sce20
-rw-r--r--3556/CH1/EX1.4/Ex1_4.sce23
-rw-r--r--3556/CH1/EX1.5/Ex1_5.sce31
-rw-r--r--3556/CH1/EX1.6/Ex1_6.sce24
-rw-r--r--3556/CH1/EX1.7/Ex1_7.sce33
-rw-r--r--3556/CH1/EX1.8/Ex1_8.sce24
-rw-r--r--3556/CH1/EX1.9/Ex1_9.sce30
9 files changed, 227 insertions, 0 deletions
diff --git a/3556/CH1/EX1.1/Ex1_1.sce b/3556/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..ece05ff59
--- /dev/null
+++ b/3556/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,22 @@
+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 1 : Basic Concepts
+// Example 1 - 1
+
+clear; clc; close;
+//
+// Given data
+C = 4600;
+Q = -1.6020 * 10^(-19);
+
+//
+// Calculations Charge Electron
+Q_coulumb = Q * C;
+//
+disp("Example 1-1 Solution : ");
+printf(" \n Q_Coulumb = Charge Electron = %.10f nC",Q_coulumb*10^9)
diff --git a/3556/CH1/EX1.2/Ex1_2.sce b/3556/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..6968ef319
--- /dev/null
+++ b/3556/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,20 @@
+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 1 : Basic Concepts
+// Example 1 - 2
+
+clear; clc; close;
+//
+// Given data
+t = 0.5000;
+//
+// Calculations Current
+i = 5 * sin(4*%pi*t) + 20*%pi*t*cos(4*%pi*t);
+//
+disp("Example 1- 2 Solution : ");
+printf(" \n i = Current = %.10f mA",i)
diff --git a/3556/CH1/EX1.3/Ex1_3.sce b/3556/CH1/EX1.3/Ex1_3.sce
new file mode 100644
index 000000000..7ae09bca6
--- /dev/null
+++ b/3556/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,20 @@
+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 1 : Basic Concepts
+// Example 1 - 3
+
+clear; clc; close;
+//
+// Given data
+t0 = 1.0000; t1 = 2.0000;
+//
+// Calculations Charge Electron
+I = integrate('(3*t^2)-t','t',t0,t1);
+//
+disp("Example 1-3 Solution : ");
+printf(" \ I = Current = %.3f C",I)
diff --git a/3556/CH1/EX1.4/Ex1_4.sce b/3556/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..ab343032e
--- /dev/null
+++ b/3556/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,23 @@
+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 1 : Basic Concepts
+// Example 1 - 4
+
+clear; clc; close;
+//
+// Given data
+i = 2.0000;
+delta_t = 10.0000;
+delta_w = 2300.0000
+//
+// Calculations Voltage Drops
+delta_q = i * delta_t;
+v = delta_w/delta_q;
+//
+disp("Example 1-4 Solution : ");
+printf(" \ v = Voltage Drop Acroos The Bulb = %.3f Volt",v)
diff --git a/3556/CH1/EX1.5/Ex1_5.sce b/3556/CH1/EX1.5/Ex1_5.sce
new file mode 100644
index 000000000..25ecf548a
--- /dev/null
+++ b/3556/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,31 @@
+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 1 : Basic Concepts
+// Example 1 - 5
+
+clear; clc; close;
+//
+// Given data
+t = 0.0030;
+i = 5*cos(60*%pi*t);
+//
+// Calculations Voltage and Power for v = 3i
+v_a = 3*i;
+P_a = v_a*i;
+// Calculation Voltage and Power for v = 3di/dt
+v_b = -900*%pi*sin(60*%pi*t)
+P_b = v_b*i;
+//
+disp("Example 1-5 Solution : ");
+disp("a. Voltage and Power for v = 3i: ");
+printf(" \n v_a = Voltage = %.3f Volt",v_a)
+printf(" \n P_a = Power = %.3f Watt",P_a)
+disp("")
+disp("b. Voltage and Power for v = 3di/dt: ");
+printf(" \n v_b = Voltage = %.3f Volt",v_b)
+printf(" \n P_b = Power = %.3f Watt",P_b)
diff --git a/3556/CH1/EX1.6/Ex1_6.sce b/3556/CH1/EX1.6/Ex1_6.sce
new file mode 100644
index 000000000..4c783408a
--- /dev/null
+++ b/3556/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,24 @@
+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 1 : Basic Concepts
+// Example 1 - 6
+
+clear; clc; close;
+//
+// Given data
+t = 2.0000;
+p = 100.0000;
+//
+// Calculations Energy Bulb
+W_kj = p*t*60*60;
+W_h = p*t;
+//
+disp("Example 1-6 Solution : ");
+printf(" \n W_kj = Energy Bulb = %.3f Kilo - Joule",W_kj/1000)
+printf(".\n W_h = Energy Bulb = %.3f Watt - Hour",W_h)
+
diff --git a/3556/CH1/EX1.7/Ex1_7.sce b/3556/CH1/EX1.7/Ex1_7.sce
new file mode 100644
index 000000000..1e39e20d0
--- /dev/null
+++ b/3556/CH1/EX1.7/Ex1_7.sce
@@ -0,0 +1,33 @@
+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 1 : Basic Concepts
+// Example 1 - 7
+
+clear; clc; close;
+//
+// Given data
+V1 = 20.0000;
+V2 = 12.0000;
+V3 = 8.0000;
+I1 = 5.0000;
+I2 = 6.0000;
+//
+// Calculations Power 1
+P1 = -V1*I1
+// Calculations Power 2
+P2 = V2*I1;
+// Calculations Power 3
+P3 = V3*I2;
+// Calculations Power 4
+P4 = 8*(-0.2*I1)
+//
+disp("Example 1-7 Solution : ");
+printf(" \n P1 = Power Supplied = %.3f Watt",P1)
+printf(".\n P2 = Power Absorbed = %.3f Watt",P2)
+printf(".\n P3 = Power Absorbed = %.3f Watt",P3)
+printf(".\n P4 = Power Supplied = %.3f Watt",P4)
diff --git a/3556/CH1/EX1.8/Ex1_8.sce b/3556/CH1/EX1.8/Ex1_8.sce
new file mode 100644
index 000000000..e93c90267
--- /dev/null
+++ b/3556/CH1/EX1.8/Ex1_8.sce
@@ -0,0 +1,24 @@
+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 1 : Basic Concepts
+// Example 1 - 8
+
+clear; clc; close;
+//
+// Given data
+e = 1.6000 * 10^(-19)
+n = 10^15;
+p = 4.0000;
+//
+// Calculations Current
+i = n*e;
+// Calculations Voltage
+vo = p/i;
+//
+disp("Example 1-8 Solution : ");
+printf(" \n v = Voltage = %.3f KV",vo/1000)
diff --git a/3556/CH1/EX1.9/Ex1_9.sce b/3556/CH1/EX1.9/Ex1_9.sce
new file mode 100644
index 000000000..b1d037325
--- /dev/null
+++ b/3556/CH1/EX1.9/Ex1_9.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 1 : Basic Concepts
+// Example 1 - 9
+
+clear; clc; close;
+//
+// Given data
+p = 700.0000
+c_base = 12.0000;
+c_100 = 16.0000;
+c_200 = 10.0000;
+c_300 = 6.0000;
+//
+// Calculations Electric Bill
+C1 = 12.0000;
+C2 = (100 * c_100)/100;
+C3 = (200 * c_200)/100;
+C4 = (400 * c_300)/100;
+Total = C1 + C2 + C3 + C4;
+Average = Total/p;
+//
+disp("Example 1-9 Solution : ");
+printf(" \n Total = Total Charge = %.3f Dollars",Total)
+printf(" \n Average = Average Cost = %.3f Cents/Kwh",Average*100)