diff options
Diffstat (limited to '876/CH2/EX2.12/Ex2_12t.txt')
-rwxr-xr-x | 876/CH2/EX2.12/Ex2_12t.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/876/CH2/EX2.12/Ex2_12t.txt b/876/CH2/EX2.12/Ex2_12t.txt new file mode 100755 index 000000000..c1b709e24 --- /dev/null +++ b/876/CH2/EX2.12/Ex2_12t.txt @@ -0,0 +1,12 @@ +//caption:Find arithmetic mean
+//Ex2.12
+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
+disp(X,'arithmetic mean(in W)=')
\ No newline at end of file |