summaryrefslogtreecommitdiff
path: root/1445/CH1/EX1.35
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1445/CH1/EX1.35
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-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.35')
-rw-r--r--1445/CH1/EX1.35/Ex1_35.sce5
1 files changed, 3 insertions, 2 deletions
diff --git a/1445/CH1/EX1.35/Ex1_35.sce b/1445/CH1/EX1.35/Ex1_35.sce
index 453b01ba6..1aa71dd92 100644
--- a/1445/CH1/EX1.35/Ex1_35.sce
+++ b/1445/CH1/EX1.35/Ex1_35.sce
@@ -1,6 +1,7 @@
//CHAPTER 1- D.C. CIRCUIT ANALYSIS AND NETWORK THEOREMS
//Example 35
+clc;
disp("CHAPTER 1");
disp("EXAMPLE 35");
@@ -22,6 +23,6 @@ req1=(r1*r4)/(r1+r4);
req2=(r2*r3)/(r2+r3);
rth=req1+req2;
Ith=vth/(rth+r5);
-disp(sprintf("By Thevenin Theorem, the current through the 1Ω resistor is %.3f A",Ith));
+disp(sprintf("By Thevenins Theorem, the current through the 1Ω resistor is %f A",Ith));
-//END
+//END \ No newline at end of file