summaryrefslogtreecommitdiff
path: root/695/CH3/EX3.29/Ex3_29.txt
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /695/CH3/EX3.29/Ex3_29.txt
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 '695/CH3/EX3.29/Ex3_29.txt')
-rwxr-xr-x695/CH3/EX3.29/Ex3_29.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/695/CH3/EX3.29/Ex3_29.txt b/695/CH3/EX3.29/Ex3_29.txt
new file mode 100755
index 000000000..b391ea89b
--- /dev/null
+++ b/695/CH3/EX3.29/Ex3_29.txt
@@ -0,0 +1,13 @@
+//Caption:Calculate the value of iron loss and copper loss which will give max efficiency and also the max efficiency
+//Exa:3.29
+clc;
+clear;
+close;
+KVA=25;
+P_iron=350;//in watts
+//For max efficiency P_iron=P_cu
+P_cu=P_iron;
+disp(P_iron,'Iron loss (in watts)=');
+disp(P_cu,'Copper Loss (in watts)=');
+Eff=KVA*1000/(KVA*1000+P_iron+P_cu);
+disp(Eff*100,'Maximum Efficiency (in %)='); \ No newline at end of file