summaryrefslogtreecommitdiff
path: root/147/CH1/EX1.24
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /147/CH1/EX1.24
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '147/CH1/EX1.24')
-rw-r--r--147/CH1/EX1.24/Example1_24.sce14
-rw-r--r--147/CH1/EX1.24/Result1_24.txt2
2 files changed, 16 insertions, 0 deletions
diff --git a/147/CH1/EX1.24/Example1_24.sce b/147/CH1/EX1.24/Example1_24.sce
new file mode 100644
index 000000000..07cdc106e
--- /dev/null
+++ b/147/CH1/EX1.24/Example1_24.sce
@@ -0,0 +1,14 @@
+//Voltage of battery E, Current through bd i5
+close();
+clear;
+clc;
+R1 = 10;//ohm
+R2 = 20;
+R3 = 30;
+E = 45;
+i5 = 0;
+R4 = R2*R3/R1;
+//Effective Resistance 'Re'
+Re = (R1+R2)*(R3+R4)/(R1+R2+R3+R4);
+Ibattery = E/Re;
+mprintf('(a): R4 = %0.0f ohm\n(b): Current supplied by battery, I = %0.1f A',R4,Ibattery); \ No newline at end of file
diff --git a/147/CH1/EX1.24/Result1_24.txt b/147/CH1/EX1.24/Result1_24.txt
new file mode 100644
index 000000000..051a0dea1
--- /dev/null
+++ b/147/CH1/EX1.24/Result1_24.txt
@@ -0,0 +1,2 @@
+(a): R4 = 60 ohm
+(b): Current supplied by battery, I = 2.0 A \ No newline at end of file