summaryrefslogtreecommitdiff
path: root/1475/CH8/EX8.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1475/CH8/EX8.1
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/CH8/EX8.1')
-rwxr-xr-x1475/CH8/EX8.1/Example_8_1.sce9
-rwxr-xr-x1475/CH8/EX8.1/Output_8_1.PNGbin0 -> 7251 bytes
2 files changed, 9 insertions, 0 deletions
diff --git a/1475/CH8/EX8.1/Example_8_1.sce b/1475/CH8/EX8.1/Example_8_1.sce
new file mode 100755
index 000000000..ed5b131a4
--- /dev/null
+++ b/1475/CH8/EX8.1/Example_8_1.sce
@@ -0,0 +1,9 @@
+// Example 8.1 From the following data
+clc;
+clear;
+P1=[1500 3000 5000 500];
+D1=[45 15 30 12];
+P2=[6000 5000 6000 3000];
+D2=[150 20 30 54];
+disp(sum(D2)*1000/sum(P2),"Crude Death Rate for Town II per thousand = ",sum(D1)*1000/sum(P1),"Crude Death Rate for Town I per thousand =");
+disp((D2./P2)*1000,"Specific Death Rate for Town II",(D1./P1)*1000,"Specific Death Rate for Town I");
diff --git a/1475/CH8/EX8.1/Output_8_1.PNG b/1475/CH8/EX8.1/Output_8_1.PNG
new file mode 100755
index 000000000..fe6aabbb2
--- /dev/null
+++ b/1475/CH8/EX8.1/Output_8_1.PNG
Binary files differ