You are on page 1of 7

Paul Priest

MATH 260
Lab #1
Due 5/10/17

PART I: Cryptography:

1. Using the numbers assigned to the letters and punctuation as outlined on the
first page of the lab, the message: I love linear algebra and this class,
since math is definitely my favorite subject! can be written using
numbers as:

[9 0 12 15] [22 5 0 12] [9 14 5 1] [18 0 1 12] [7 5 2 18] [1 0 1 14] [4 0 20 8]


[9 19 0 3] [12 1 19 19] [29 0 19 9] [14 3 5 0] [13 1 20 8]
The numbers are bracketed into 4 number group, then each 4 number group
is transposed and arranged into a 4x12 matrix, matrix M=

2 1 1 2 1 1 1 1 2 2 2 2
9 2 9 8 7 1 4 9 2 9 4 3 0 4 4 2 5 2 0 1 3
1 1 2 1 2
0 5 4 0 5 0 0 9 1 0 3 1 9 5 9 5 0 5 5 2 0
1 2 1 1 2 1 2 1 1 2
2 0 5 1 2 1 0 0 9 9 5 0 9 6 0 0 6 8 0 0 8
1 1 1 1 1 1 1 1
5 2 1 2 8 4 8 3 9 9 0 8 0 9 5 3 1 9 9 5 0

Then we code matrix M, using the coding matrix A

A=

Coded matrix C is found by multiplying A*M=C


2.) Decode the message given on the lab in #2

Now we transpose each row of numbers listed above, and organize the numbers
into a matrix, matrix G

Now to decode matrix G, we multiply it by A^(-1)

A^(-1) =
A^(-1)*G= E:

Now we transpose matrix E

The rows of E transposed can be listed horizontally and then each number returned
to letters using the rubric given on the first page of the lab.

1 14 0 1 0 9 19 0 4 5 6 9 14 9 20 5 12 25 0 1 20 20 1 9 14 1 2 12 5 0 9 14 0 20 8 9
29 0 3 12 1 19 19 0 2 21 20 0 25 15 21 0 13 21 19 20 0 16 21 20 0 6 15 18 20 8 0 1
14 0 5 24 3 5 12 12 5 14 20 0 5 6 6 15 18 20 0 1 14 4 0 4 15 0 20 8 5 0 8 15 13 5
23 15 18 11 0 0
The resulting decoded message is:
an_a_is_definitely_attainable_in_this_class_but_you_must_put_forth_an_exc
ellent_effort_and_do_the_homework__
PART II: The Leontief Input-Output Model:
1.) The input output matrix for this economy is:

2.) With the given production rate represented by vector x, how much input from
the tourism sector is required by the services sector?

Vector x shows that the services sector produced $90


million, and matrix A shows that for every dollar the services sector makes, it
requires $0.10 from tourism.

$90million*0.10= $9 million
3.) What is the total value of inputs consumed by each sector during the
production process?

This is found by multiplying A*x

Using a calculator and RREF:

Tourism consumes -$195million during production


Transportation consumes $220 million during production
Services consumes $90 million during production
4.) If the total outputs of the tourism, transportation, and services sector are:
$90million, $100million, and $70million, respectively, what is the net
production of each sector?

The net production is found using by first multiplying the input/output matrix,
A, by the output matrix, x. this finds the amount of product consumed during
production. We then subtract this number from the matrix, x.

(x-(A*x))=net production

Net production of:


Tourism= -$60 million
Transportation= -$120 million
Service= $230 million
5.) What gross production is required to satisfy an exact demand of $110 million
tourism, $130 million transportation, and $100 million services?

The gross production of


each sector required is:

Tourism = $337.83 million


Transportation = $325.22 million
Services = $276.52 million

You might also like