summaryrefslogtreecommitdiff
path: root/1475/CH6/EX6.33/Example_6_33.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH6/EX6.33/Example_6_33.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 '1475/CH6/EX6.33/Example_6_33.sce')
-rwxr-xr-x1475/CH6/EX6.33/Example_6_33.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1475/CH6/EX6.33/Example_6_33.sce b/1475/CH6/EX6.33/Example_6_33.sce
new file mode 100755
index 000000000..cb46b395d
--- /dev/null
+++ b/1475/CH6/EX6.33/Example_6_33.sce
@@ -0,0 +1,16 @@
+//Example 6.33 Compute the average seasonal movements by the method of quarterly total for the following series of observation
+clc;
+clear;
+P1=[37 41 35];
+P2=[38 34 37 ];
+P3=[37 25 35];
+P4=[40 31 41];
+T1=sum(P1);
+T2=sum(P2);
+T3=sum(P3);
+T4=sum(P4);
+T=[T1 T2 T3 T4];
+AM=T./3;
+GA=sum(AM)/4;
+ASM=AM-GA;
+disp(ASM,"Average Seasonal Movements=",GA,"Grand Average =",AM,"Average Movement =");