Docsity

Modular Systems Application (Math in the Modern World), Exercises of Mathematics

Toggle sidebar
bg1
Name: RIVERA, Cristelle Joyce T. Formative Assessment 2.6
Section: 36 Applications of Modular Systems
1. A loan is to be paid in 30 months, starting in April. Apply modular operations to determine the
month when the last payment shall be made.
- In this example, we will be using Modulo n Addition with the application of months in a
year, since what we will be needing in this example is to get the month on when the last
payment will be paid. Since the starting month for the payment is April, which is the 4th
month of the year, and the last month for the payment is 30 months from the first payment,
we only need to add 30 months to the 4th month in order to get the specific month needed.
Since there are 12 months in a year, we will be using addition mod 12.
- Note that Z12 = {1,2,3,4,….,10,11,0}, if ever we encounter a sum that is not within this set, we
will need to subtract 12 from it, until we get a number that is within the set.
4 āŠ•12 30 = 4 + 30 (mod 12)
= 34 (mod 12)
= 34 – 12 (mod 12)
= 22 (mod 12)
= 22 – 12 (mod 12)
= 10 (mod 12) October
- Since the answer that we got is 10, this means that the last month of payment for the loan is
the 10th month of the year which is October.
2. Use the encoding formula y = x + 12 (mod 26)
A
B
C
D
E
F
G
H
I
J
K
L
M
1
2
3
4
5
6
7
8
9
10
11
12
13
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
14
15
16
17
18
19
20
21
22
23
24
25
0
- Since there are 26 letters in the alphabet, we just need to assign a number starting from 1 in
A, and ending in 0 for Z. Giving us the set Z26 = {1,2,3,4,5,…,22,23,24,25,0}
a. Encode L O V E
- We will use the given encoding formula: y = x + 12 (mod 26) in encoding the word
LOVE
- The first step in encoding is to get the equivalent number of each of the letters that
we need to encode before using the formula to solve.
Note that the x in the formula is the number equivalent to the given letter.
- Since the encoding formula is x + 12, we only need to add 10 in the number
equivalent to each of the letter. If ever we encounter a sum that is not in the given
set Z26 = {1,2,3,4,5,…,22,23,24,25,0}, we will be needing to subtract 26 until we get a
number that is within the set.
- Taking this in mind, we will be coming up with the following solutions:
pf3

Partial preview of the text

Download Modular Systems Application (Math in the Modern World) and more Exercises Mathematics in PDF only on Docsity!

Name: RIVERA, Cristelle Joyce T. Formative Assessment 2. Section: 36 Applications of Modular Systems

  1. A loan is to be paid in 30 months, starting in April. Apply modular operations to determine the month when the last payment shall be made.
    • In this example, we will be using Modulo n Addition with the application of months in a year, since what we will be needing in this example is to get the month on when the last payment will be paid. Since the starting month for the payment is April, which is the 4th month of the year, and the last month for the payment is 30 months from the first payment, we only need to add 30 months to the 4th^ month in order to get the specific month needed. Since there are 12 months in a year, we will be using addition mod 12.
    • Note that Z 12 = {1,2,3,4,….,10,11,0}, if ever we encounter a sum that is not within this set, we will need to subtract 12 from it, until we get a number that is within the set. 4 āŠ• 12 30 = 4 + 30 ( mod 12 ) = 34 ( mod 12 ) = 34 – 12 ( mod 12 ) = 22 ( mod 12 ) = 22 – 12 ( mod 12 ) = 10 ( mod 12 ) October
    • Since the answer that we got is 10, this means that the last month of payment for the loan is the 10th^ month of the year which is October.
  2. Use the encoding formula y = x + 12 ( mod 26 ) A B C D E F G H I J K L M 1 2 3 4 5 6 7 8 9 10 11 12 13 N O P Q R S T U V W X Y Z 14 15 16 17 18 19 20 21 22 23 24 25 0
    • Since there are 26 letters in the alphabet, we just need to assign a number starting from 1 in A, and ending in 0 for Z. Giving us the set Z 26 = {1,2,3,4,5,…,22,23,24,25,0} a. Encode L O V E - We will use the given encoding formula: y = x + 12 ( mod 26 ) in encoding the word LOVE - The first step in encoding is to get the equivalent number of each of the letters that we need to encode before using the formula to solve. Note that the x in the formula is the number equivalent to the given letter. - Since the encoding formula is x + 12, we only need to add 10 in the number equivalent to each of the letter. If ever we encounter a sum that is not in the given set Z 26 = {1,2,3,4,5,…,22,23,24,25,0}, we will be needing to subtract 26 until we get a number that is within the set. - Taking this in mind, we will be coming up with the following solutions:

L = 12

12 + 12 ( mod 26 ) 24 ( mod 26 ) X O = 15 15 + 12 ( mod 26 ) 27 ( mod 26 ) 27 – 26 ( mod 26 ) 1 ( mod 26 ) A V = 22 22 + 12 ( mod 26 ) 34 ( mod 26 ) 34 – 26 ( mod 26 ) 8 ( mod 26 ) H E = 5 5 + 12 ( mod 26 ) 17 ( mod 26 ) Q

  • Hence, we encode the word LOVE as XAHQ. b. Find the decoding formula Encoding Formula: y = x + 12 ( mod 26 )
  • In decoding, what we will be needing now is to get the value of x, and in order to do that, we need to transfer the 12 to the right side, which is beside y, because the new values or the encoded ones are already represented by y.
  • Doing this, we will be left with y – 12 = x, but - 12 is not in the set of Z 26 , so what we need to do is to get its congruence, we can find this by just adding 26 (adding, because it is a negative number and what we need is a positive integer), until we get a number that is within the set.
  • 12 = - 12 + 26 ( mod 26 ) = 14 ( mod 26 )
  • Since we already got the number that is congruent to - 12 ( mod 26 ) which is 14, we can now use the decoding formula: x = y + 14 ( mod 26 ) Checking : X = 24 24 + 14 ( mod 26 ) 38 ( mod 26 ) 38 – 26 ( mod 26 ) 12 ( mod 26 ) L A = 1 1 + 14 ( mod 26 ) 15 ( mod 26 ) O H = 8