diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1445/CH1/EX1.2 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1445/CH1/EX1.2')
-rw-r--r-- | 1445/CH1/EX1.2/Ex1_2.sce | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/1445/CH1/EX1.2/Ex1_2.sce b/1445/CH1/EX1.2/Ex1_2.sce index d9885ec94..f0d94a250 100644 --- a/1445/CH1/EX1.2/Ex1_2.sce +++ b/1445/CH1/EX1.2/Ex1_2.sce @@ -1,6 +1,7 @@ //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS //Example 2 +clc; disp("CHAPTER 1"); disp("EXAMPLE 2"); @@ -27,7 +28,7 @@ req3=req1+req2; //series combination of resistors req4=(req3*rac)/(req3+rac); //parallel combination of resistors req5=req4+r3; req6=(req5*7)/(req5+7); -disp(sprintf("The eqivalent resistance between points A and B is %.2f Ω",req6)); +disp(sprintf("The eqivalent resistance between points A and B is %f Ω",req6)); //END |