summaryrefslogtreecommitdiff
path: root/569/CH3/EX3.13
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /569/CH3/EX3.13
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 '569/CH3/EX3.13')
-rwxr-xr-x569/CH3/EX3.13/3_13.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/569/CH3/EX3.13/3_13.sci b/569/CH3/EX3.13/3_13.sci
new file mode 100755
index 000000000..51c705698
--- /dev/null
+++ b/569/CH3/EX3.13/3_13.sci
@@ -0,0 +1,10 @@
+// Calculate the true power as a percentage of measured power
+clc;
+I=30.4;
+R=0.015;
+I_true=I*(1+0.012);
+R_true=R*(1-0.003);
+P_true=(I_true^2)*R_true;
+P_measured=(I^2)*R;
+R=P_true*100/P_measured;
+disp(R,'true power as a percentage of measured power(%)=' ) \ No newline at end of file