diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH8/EX8.2 | |
download | Scilab-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/CH8/EX8.2')
-rwxr-xr-x | 1475/CH8/EX8.2/Example_8_2.sce | 8 | ||||
-rwxr-xr-x | 1475/CH8/EX8.2/Output_8_2.PNG | bin | 0 -> 8969 bytes |
2 files changed, 8 insertions, 0 deletions
diff --git a/1475/CH8/EX8.2/Example_8_2.sce b/1475/CH8/EX8.2/Example_8_2.sce new file mode 100755 index 000000000..d1cd8471c --- /dev/null +++ b/1475/CH8/EX8.2/Example_8_2.sce @@ -0,0 +1,8 @@ +//Example 8.2 Calculate Standarised Death Rates for Town I and Town II.
+clc;
+clear;
+T1=[30 5 6 24];
+T2=[25 6 5 28];
+Std_pop=[2200 3000 2700 2100];
+disp(Std_pop,"Standard Population =",T2,"Town II Specific death Rate =",T1,"Town I Specific death Rate =");
+disp(sum(T2.*Std_pop)/sum(Std_pop),"Standarised Death Rate for Town II =",sum(T1.*Std_pop)/sum(Std_pop),"Standarised Death Rate for ");
diff --git a/1475/CH8/EX8.2/Output_8_2.PNG b/1475/CH8/EX8.2/Output_8_2.PNG Binary files differnew file mode 100755 index 000000000..123bd1cd2 --- /dev/null +++ b/1475/CH8/EX8.2/Output_8_2.PNG |