[Solved] : Question 129134

Use matrix subtraction to calculate how much longer was the life expectancy of
black and white women than men of the same races in each decade from year
1950 to 2000. There is no need to store the year data in your matrices, just
provide the years in the output. Calculate the matrix difference producing a third 6-by-2 matrix. Display all three matrices with appropriate labels. Your program should calculate the matrix difference by subtracting each element of the second matrix from the corresponding element of the first.

United States Life Expectancy at Birth by Sex and Race
Female Male
Year Black White Year Black White
1950 62.9 72.2 1950 59.1 66.5
1960 66.3 74.1 1960 61.1 67.4
1970 68.3 75.6 1970 60.0 68.0
1980 72.5 78.1 1980 63.8 70.7
1990 73.6 79.4 1990 64.5 72.7
2000 75.2 80.1 2000 68.3 74.9


Expert Answer


Answer to : Question 129134

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?