summaryrefslogtreecommitdiff
path: root/608/CH10/EX10.14/10_14.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH10/EX10.14/10_14.sce
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 '608/CH10/EX10.14/10_14.sce')
-rwxr-xr-x608/CH10/EX10.14/10_14.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/608/CH10/EX10.14/10_14.sce b/608/CH10/EX10.14/10_14.sce
new file mode 100755
index 000000000..504d5b9c1
--- /dev/null
+++ b/608/CH10/EX10.14/10_14.sce
@@ -0,0 +1,10 @@
+//Problem 10.14: 6% of the power supplied to a cable appears at the output terminals. Determine the power loss in decibels.
+
+//initializing the variables:
+rP = 0.06; // power ratios rP = P2/P1
+
+//calculation:
+X = 10*log10(rP)
+
+printf("\n\n Result \n\n")
+printf("\n decibel Power ratios = %.2f dB\n",X) \ No newline at end of file