summaryrefslogtreecommitdiff
path: root/876/CH2/EX2.13/Ex2_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '876/CH2/EX2.13/Ex2_13.sce')
-rwxr-xr-x876/CH2/EX2.13/Ex2_13.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/876/CH2/EX2.13/Ex2_13.sce b/876/CH2/EX2.13/Ex2_13.sce
new file mode 100755
index 000000000..80dffb1e3
--- /dev/null
+++ b/876/CH2/EX2.13/Ex2_13.sce
@@ -0,0 +1,21 @@
+//caption:Find deviation
+//Ex2.13
+clc
+clear
+close
+x1=25.65//first reading(in W)
+x2=24.39//second reading(in W)
+x3=23.75//third reading(in W)
+x4=26.42//fourth reading(in W)
+x5=24.92//fifth reading(in W)
+X=(x1+x2+x3+x4+x5)/5
+d1=x1-X
+disp(d1,'deviation=')
+d2=x2-X
+disp(d2,'deviation=')
+d3=x3-X
+disp(d3,'deviation=')
+d4=x4-X
+disp(d4,'deviation=')
+d5=x5-X
+disp(d5,'deviation=') \ No newline at end of file