Professional Documents
Culture Documents
0 10-July-2020
4. Use the division algorithm. There are 24 hours in one complete day. How many complete days are
contained in 2500 hours?
5. Use the division algorithm to find the expression that will satisfy the following.
a.) when b < 0, where b = – 3 then for the choices of a = 4, 12, 21, -31, -52, and 69.
b.) when b > 0, where b = 6 then for the choices of a = 2, 12, 21, 31, -52, -72 and 99.
a.) 47 and 74
b.) 47 and – 74
6. List all
common divisors and find the greatest common divisor of the following.
Study Guide in Mathematics in the Modern World FM-AA -CIA-15 Rev. 0 10-July-2020
Because the check digit is 6 and not 4 as it should be, the receiving clerk knows that an incorrect ISBN
has been sent. Transposition errors are among the most frequent errors that occur. The ISBN coding
system will catch most of them.
Another coding scheme that is closely related to the ISBN is the UPC.
Definition 3.1.2 UPC (Universal Product Code)
This number is placed on many items and is particularly useful in grocery stores. A check-out
clerk passes the product by a scanner, which reads the number from a bar code and records the price
on the cash register. If the price of an item changes for promotional sale, the price is updated in the
computer, thereby relieving a clerk of having to re-price each item. In addition to pricing items, the UPC
gives the store manager accurate information about inventory and the buying habits of the store’s
customers. (Huffman, 2013)
The UPC is a 12-digit number that satisfies a congruence equation that is similar to the one for
ISBNs. The last digit is the check digit. If we label the 12 digits of the UPC as , we can write a formula
for the UPC check digit .
Formula for the UPC Check Digit
( )
Example 3.1.2
Find the check digit for the DVD release of the Alice in Wonderland. The first 11 digits are 7-8693679798-?
[ ( ) ( ) ( ) ( ) ( ) ( )]
15
PANGASINAN STATE UNIVERSITY
Study Guide in Mathematics in the Modern World FM-AA -CIA-15 Rev. 0 10-July-2020
The same check digit is calculated, yet the UPC has been entered incorrectly. This was an
unfortunate coincidence; if any other two digits were transposed, the result would have given a different
check digit and the error would have been caught. It can be shown that the ISBN and UPC coding
methods will not catch a transposition error of adjacent digits a and b if | a – b| = 5. For the Canola Oil
UPC, | 7 – 2| = 5.
Your Turn 8
Determine whether the given number is a valid ISBN.
a.) 978-0-281-44268-5
b.) 978-0-55690-182-9
Example 3.2.1
The line SHE WALKS IN BEAUTY LIKE THE NIGHT, from Lord Byron’s poem “She Walks in
Beauty” is in plaintext.
Definition 3.2.3 Ciphertext
Ciphertext is the message after it has been written in code. (Huffman, 2013)
Example 3.2.2
The line ODA SWHGO EJ XAWQPU HEGA PDA JECDP is the same message of the poem in
ciphertext.
16
PANGASINAN STATE UNIVERSITY
Study Guide in Mathematics in the Modern World FM-AA -CIA-15 Rev. 0 10-July-2020
The encrypting code is to shift each letter of the plaintext message m positions, then the corresponding
letter in the ciphertext message is given by , where p is the
numerical equivalent of the plaintext letter and c is the numerical equivalent of the ciphertext letter. The
The different terminologies in this lesson had been defined. We used the formula for ISNB and
UPC to determine whether the check digit is valid or not. The encryption and decryption are methods of
changing a message from plaintext to ciphertext and vice versa.
18
PANGASINAN STATE UNIVERSITY
Study Guide in Mathematics in the Modern World FM-AA -CIA-15 Rev. 0 10-July-2020
1.)
a.) It means the time 3 hours after 12 o’clock is 3 o’clock, since 3 + 12 = 15 we have
passed 12 o’clock, we begin again with 1. Therefore 12 3 = 3.
b.) It means the time 9 hours after 8 o’clock is 5 o’clock, since 9 + 8 = 17 we have passed 12
o’clock, we begin again with 1. Therefore 8 9 = 5.
c.) It means the time 7 hours after 6 o’clock is 1 o’clock, since 7 + 6 = 13 we have passed 12
o’clock, we begin again with 1. Therefore 6 7 = 1.
d.) It means the time 10 hours after 5 o’clock is 3 o’clock, since 10 + 5 = 15 we have
passed 12 o’clock, we begin again with 1. Therefore 5 10 = 3.
e.) It means the time 8 hours after 8 o’clock is 4 o’clock, since 8 + 8 = 16 we have passed 12
o’clock, we begin again with 1. Therefore 8 8 = 4.
f.) It means the time 10 hours after 11 o’clock is 4 o’clock, since 10 + 11 = 21 we have
passed 12 o’clock, we begin again with 1. Therefore 11 11 = 9.
2.)
a.) Given the day where 6 is Saturday and 4 is Thursday. Since 6 + 4 = 10 we have passed
the 7th day of the week which is Sunday, we begin again with Monday. Therefore, 6 4=3
which is associate of Wednesday.
b.) Given the day where 3 is Wednesday and 5 is Friday. Since 3 + 5 = 10 we have
passed the 7th day of the week which is Sunday, we begin again with Monday. Therefore, 3
5 = 1 which is associate of Monday.
Your Turn 2
1.)
( ) ( )
a.) , let q = 1 and r = 9. Therefore, .
b.) ( ) , let q = – 1 and r = 9. Therefore, . ( )
Your Turn 3
a.) The common divisor of 24 and 54 is 6, we denote as gcd (24, 54) = 6.
b.) The common divisor of – 24 and 54 is 6, we denote as gcd (- 24, 54) = 6.
c.) The common divisor of 24 and – 54 is 6, we denote as gcd (24, -54) = 6.
d.) The common divisor of 10 and 100 is 10, we denote as gcd (10, 100) = 10
20
PANGASINAN STATE UNIVERSITY
Study Guide in Mathematics in the Modern World FM-AA -CIA-15 Rev. 0 10-July-2020
Your Turn 4
1.)
a.) 227 c.)
a.) Add
then .
Therefore, .
b.) Add and 51 divided by the modulus 15 leaves a remainder of 6 since
then .
Therefore, .
c.) Subtract . Because the answer is negative, we must find x so that .
Repeatedly adding the modulus.