summaryrefslogtreecommitdiff
path: root/2192/CH4/EX4.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2192/CH4/EX4.9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2192/CH4/EX4.9')
-rwxr-xr-x2192/CH4/EX4.9/4_9.sce42
1 files changed, 42 insertions, 0 deletions
diff --git a/2192/CH4/EX4.9/4_9.sce b/2192/CH4/EX4.9/4_9.sce
new file mode 100755
index 000000000..833539e2f
--- /dev/null
+++ b/2192/CH4/EX4.9/4_9.sce
@@ -0,0 +1,42 @@
+clc,clear
+printf('Example 4.9\n\n')
+
+//PART(i) PART(i) PART(i) PART(i) PART(i) PART(i) PART(i) PART(i) PART(i) PART(i)
+V=230;R=100;
+P_each = V^2/R
+
+//part(a)
+P1a=6*P_each //power consumed
+//part(b)
+P1b=V^2/(R+R+R) + V^2/(R+R+R) //power consumed
+
+//PART(ii) PART(ii) PART(ii) PART(ii) PART(ii) PART(ii) PART(ii) PART(ii) PART(ii)
+V=400/sqrt(3)
+
+//part(a)
+R_eq=R/2 //equivalent resistance of given configuration
+P2a=V^2/R_eq //power consumed
+//part(b)
+R_eq=R+R //equivalent resistance of given configuration
+P2b=V^2/R_eq //power consumed
+
+//PART(iii) PART(iii) PART(iii) PART(iii) PART(iii) PART(iii) PART(iii) PART(iii)
+V=400
+R_eq=R/2 //equivalent resistance of given configuration
+//part(a)
+P3a=V^2/R_eq //power consumed
+//part(b)
+R_eq=R+R //equivalent resistance of given configuration
+P3b=V^2/R_eq //power consumed
+
+printf('Part(i)\n')
+printf('(a)Power consumed = %.3f kW\n',P1a/1000)
+printf('(b)Power consumed = %.0f watts\n',P1b)
+printf('Part(ii)\n')
+printf('(a)Power consumed = %.3f kW\n',P2a/1000)
+printf('(b)Power consumed = %.3f kW\n',P2b/1000)
+printf('Part(iii)\n')
+printf('(a)Power consumed = %.1f kW\n',P3a/1000)
+printf('(b)Power consumed = %.0f watts\n',P3b)
+
+printf('\nAnswers may mismatch due to calculation error in book')