summaryrefslogtreecommitdiff
path: root/1445/CH1/EX1.56/Ex1_56.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH1/EX1.56/Ex1_56.sce')
-rw-r--r--1445/CH1/EX1.56/Ex1_56.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1445/CH1/EX1.56/Ex1_56.sce b/1445/CH1/EX1.56/Ex1_56.sce
new file mode 100644
index 000000000..83663522a
--- /dev/null
+++ b/1445/CH1/EX1.56/Ex1_56.sce
@@ -0,0 +1,21 @@
+//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
+//Example 56
+
+disp("CHAPTER 1");
+disp("EXAMPLE 56");
+
+//VARIABLE INITIALIZATION
+r=1; //this is an assumption
+r1=r*1; //in Ohms
+r2=r*2; //in Ohms
+r3=r*3; //in Ohms
+
+//SOLUTION
+req=(r1*r2)+(r2*r3)+(r3*r1); //'req' is the equivalent resistance that appears in the numerator of the equation of star-delta conversion
+ra=req/r3;
+rb=req/r1;
+rc=req/r2;
+disp(sprintf("The equivalent delta values are ra=( %.2f x r) Ω, rb=( %.2f x r) Ω and rc=( %.2f x r) Ω",ra,rb,rc));
+
+//END
+