Question

In: Math

( NO HAND WRITING PLEASE ) Q1: Suppose that a and b are integers, a ≡...

( NO HAND WRITING PLEASE )

Q1: Suppose that a and b are integers, a ≡ 11 (mod 19), and

b ≡ 3 (mod 19). Find the integer c with 0 ≤ c ≤ 18 such

that

a) c ≡ 13a (mod 19).

b) c ≡ 8b (mod 19).

c) c ≡ a − b (mod 19).

d) c ≡ 7a + 3b (mod 19).

e) c ≡ 2a2 + 3b2 (mod 19).

Q2:

List all the steps used to search for 10 in the sequence 1,3, 4, 5, 6, 8, 9, 11 using

a) A linear search.

b) A binary search.

Solutions

Expert Solution

1) Given that a and b are integers such that a 11(mod 19) and b 3(mod 19) and c is an integer such that .

Now, a) We have, a 11(mod 19)

i.e., a = 19*m + 11, where m is an integer.

i.e., 13a = 13*(19*m + 11)

i.e., 13a = 19*(13*m) + 143

i.e., 13a = 19*(13*m + 7) + 10

i.e., 13a = 19*m' + 10 [where m' = 13*m + 7]

Given, c 13a(mod 19)

i.e., c = 19*k + 13a, where k is an integer

i.e., c = 19*k + 19*m' + 10

i.e., c = 19*(k + m') + 10 [where m' = 13*m + 7]

i.e., c = 19*k' + 10 [where k' = k + m']

Since, c is an integer such that and k' is an integer.

Therefore, c = 10 [putting k' = 0]

b) We have, b 3(mod 19)

i.e., b = 19*n + 3

i.e., 8b = 8*(19*n + 3)

i.e., 8b = 19*(8*n) + 24

i.e., 8b = 19*(8*n + 1) + 5

Given, c 8b(mod 19)

i.e., c = 19*k + 8b, where k is an integer

i.e., c = 19*k + 19*(8*n + 1) + 5

i.e., c = 19*(k + 8*n + 1) + 5

i.e., c = 19*k' + 5 [where k' = k + 8*n + 1]

Since, c is an integer such that and k' is an integer.

Therefore, c = 5 [putting k' = 0]

c)We have, c a-b(mod 19)

i.e., c = 19*k + (19*m + 11) + (19*n + 3)

i.e., c = 19*(k+m+n) + 14

i.e., c = 19*k' + 14 [where k' = k+m+n]

Since, c is an integer such that and k' is an integer.

Therefore, c = 14 [putting k' = 0]

d) We have, c 7a+3b(mod 19)

i.e., c = 19*k + 7*(19*m + 11) + 3*(19*n + 3)

i.e., c = 19*k + 19*(7*m + 3*n) + 77 + 9

i.e., c = 19*(k + 7*m + 3*n) + 86

i.e., c = 19*(k + 7*m + 3*n + 4) + 10

i.e., c = 19*k' + 10 [where k' = k + 7*m + 3*n + 4]

Since, c is an integer such that and k' is an integer.

Therefore, c = 10 [putting k' = 0]

e) We have, c 2a2+3b2(mod 19)

i.e., c = 19*k + 2*(19*m + 11)2 + 3*(19*n + 3)2

i.e., c = 19*k + 2*[19*(19*m2 + 22*m) + 121] + 3*[19*(19*n2 + 6*n) + 9]

i.e., c = 19*[k + 2*(19*m2 + 22*m) + 3*(19*n2 + 6*n)] + 242 + 27

i.e., c = 19*[k + 2*(19*m2 + 22*m) + 3*(19*n2 + 6*n)] + 269

i.e., c = 19*[k + 2*(19*m2 + 22*m) + 3*(19*n2 + 6*n) + 14] + 3

i.e., c = 19*k' + 3 [where k' = k + 2*(19*m2 + 22*m) + 3*(19*n2 + 6*n) + 14]

Since, c is an integer such that and k' is an integer.

Therefore, c = 3 [putting k' = 0]


Related Solutions

Please answer Part 2 (b) And please type your answer,hand-writing is sometimes hard to figure out...
Please answer Part 2 (b) And please type your answer,hand-writing is sometimes hard to figure out Before mid-night thanks Part 1 Waterways has a sales mix of sprinklers, valves, and controllers as follows. Annual expected sales: Sale of sprinklers 460,000 units at $26.50 Sale of valves 1,480,000 units at $11.20 Sale of controllers 60,000 units at $42.50 Variable manufacturing cost per unit: Sprinklers $13.96 Valves $ 7.95 Controllers $29.75 Fixed manufacturing overhead cost (total) $760,000 Variable selling and administrative expenses...
Please answer question 2b. If you are writing by hand please make handwriting as readable as...
Please answer question 2b. If you are writing by hand please make handwriting as readable as possible. 2. Lithography: (a) Polymers containing aromatic rings are more likely to absorb UV photons, leading to chain scission. Would this make them negative or positive resists for lithography. (2 points) (b) Explain briefly how lift off works. (2 points) (c) Explain why chips are exposed with a stepper (so only a small field of view is illuminated at a time) in deep UV...
please no hand writing Q 4     Making a decision to process a product further is not...
please no hand writing Q 4     Making a decision to process a product further is not influenced by joint cost allocation. However, it should be based on incremental costs and qualitative factors. Discuss this statement.
Please no hand writing 1. Referring to an example, discuss what is a closed economy and...
Please no hand writing 1. Referring to an example, discuss what is a closed economy and an opened economy? 2. What do factor markets mean to you? If you have participated in these markets, which one ? If not, which do you expect will be most important to you during your economically active life?
case study please net hand writing if you are going to post a picture this is...
case study please net hand writing if you are going to post a picture this is all the info that was given to me Scenario #1: Older Adults: Mrs. Alice Green, a 78 year old female, has had a bone density scan as part of a regular physical check and has been told that she has severe osteoporosis. Her primary care health practitioner has ordered a new medication that is supposed to maintain bone mass in clients with osteoporosis. Mrs....
please show the steps and clear hand writing please show how to Derive the Newton-Raphson formula....
please show the steps and clear hand writing please show how to Derive the Newton-Raphson formula. Diagrams and explanations will be needed.
Please answer below question with full detailed explanation in type written, no hand writing please. What...
Please answer below question with full detailed explanation in type written, no hand writing please. What is the basic difference between synchronous machine and induction machine? Why induction motor is more common as compared to induction generator?
please use keyboard writing Please give a unique answer Q1/What are the roles of a project...
please use keyboard writing Please give a unique answer Q1/What are the roles of a project sponsor and the approval committee during the different SDLC phases? part 2 Assume the following scenario: A small company needs to develop an information system for the Finance and Accounting Department. As an analyst which process model would you prefer and why?
Theorem 3.4. Let a and b be integers, not both zero, and suppose that b =...
Theorem 3.4. Let a and b be integers, not both zero, and suppose that b = aq + r for some integers q and r. Then gcd(b, a) = gcd(a, r). a) Suppose that for some integer k > d, k | a and k | r. Show that k | b also. Deduce that k is a common divisor of b and a. b) Explain how part (a) contradicts the assumption that d = gcd(b, a).
Learning Outcome: please long answer and no hand writing 3. Describe the impact of diversity and...
Learning Outcome: please long answer and no hand writing 3. Describe the impact of diversity and the changing workforce on organizations and organizational performance. 4. Examine the role of HR as a strategic partner in an organization Assignment Workload: This assignment is an individual assignment. The word count for this assignment must be between 800 to 1000 words Case Study B.R Investments is a reputed finance company having 15 branches in different part of the country. In the home office...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT