summaryrefslogtreecommitdiff
path: root/1475/CH8/EX8.2
diff options
context:
space:
mode:
Diffstat (limited to '1475/CH8/EX8.2')
-rwxr-xr-x1475/CH8/EX8.2/Example_8_2.sce8
-rwxr-xr-x1475/CH8/EX8.2/Output_8_2.PNGbin0 -> 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
new file mode 100755
index 000000000..123bd1cd2
--- /dev/null
+++ b/1475/CH8/EX8.2/Output_8_2.PNG
Binary files differ