summaryrefslogtreecommitdiff
path: root/1445/CH1/EX1.20/Ex1_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH1/EX1.20/Ex1_20.sce')
-rw-r--r--1445/CH1/EX1.20/Ex1_20.sce3
1 files changed, 2 insertions, 1 deletions
diff --git a/1445/CH1/EX1.20/Ex1_20.sce b/1445/CH1/EX1.20/Ex1_20.sce
index 0255e39d2..1c1bcfc00 100644
--- a/1445/CH1/EX1.20/Ex1_20.sce
+++ b/1445/CH1/EX1.20/Ex1_20.sce
@@ -1,6 +1,7 @@
//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 20
+clc;
disp("CHAPTER 1");
disp("EXAMPLE 20");
@@ -27,6 +28,6 @@ I2=x(1,:); //to access the 1st element of 2X1 matrix
I3=x(2,:); //to access the 2nd element of 2X1 matrix
In=I3;
I=(rn*In)/(rn+r4);
-disp(sprintf("By Norton Theorem, the value of I is %.3f A",I));
+disp(sprintf("By Norton Theorem, the value of I is %f A",I));
//END