summaryrefslogtreecommitdiff
path: root/2360/CH2/EX2.25/ex2_25.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2360/CH2/EX2.25/ex2_25.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 '2360/CH2/EX2.25/ex2_25.sce')
-rwxr-xr-x2360/CH2/EX2.25/ex2_25.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2360/CH2/EX2.25/ex2_25.sce b/2360/CH2/EX2.25/ex2_25.sce
new file mode 100755
index 000000000..0e48d5eb3
--- /dev/null
+++ b/2360/CH2/EX2.25/ex2_25.sce
@@ -0,0 +1,9 @@
+// Exa 2.25
+format('v',7);clc;clear;close;
+// Given data
+Wrange= 500;//wattmeter range in W
+del_A= 1.5*Wrange/100;//limiting error at full scale in W
+P= 50;//power in W
+Pmin= P-del_A;// minimum power in W
+Pmax= P+del_A;// maximum power in W
+disp("The range of the reading is : "+string(Pmin)+" watts to "+string(Pmax)+" watts");