diff options
Diffstat (limited to '1445/CH1/EX1.4/Ex1_4.sce')
-rw-r--r-- | 1445/CH1/EX1.4/Ex1_4.sce | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/1445/CH1/EX1.4/Ex1_4.sce b/1445/CH1/EX1.4/Ex1_4.sce index b8847eae1..a3f805dc5 100644 --- a/1445/CH1/EX1.4/Ex1_4.sce +++ b/1445/CH1/EX1.4/Ex1_4.sce @@ -1,6 +1,7 @@ //CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS //Example 4 +clc; disp("CHAPTER 1"); disp("EXAMPLE 4"); @@ -23,19 +24,19 @@ req3=req2+(r4+r5); req4=(req3*r6)/(req3+r6); req5=req4+r7; req6=(req5*r8)/(req5+r8); -disp(sprintf("The eqiuvalent resistance between points a and b is %.2f Ω",req6)); +disp(sprintf("The equivalent resistance between points a and b is %f Ω",req6)); //To find resistance between c and d req7=r7+r8; req8=(req7*r6)/(req7+r6); req9=req2+r5+req8; req10=(req9*r4)/(req9+r4); -disp(sprintf("The eqiuvalent resistance between points c and d is %.2f Ω",req10)); +disp(sprintf("The equivalent resistance between points c and d is %f Ω",req10)); //To find resistance between d and e req11=req2+r4+r5; req12=(req11*r6)/(req11+r6); req13=(req12*req7)/(req12+req7); -disp(sprintf("The eqiuvalent resistance between points d and e is %.2f Ω",req13)); +disp(sprintf("The equivalent resistance between points d and e is %f Ω",req13)); //END |