Question 1 Exercise 3.2 Next
Answer:
SOLUTION: (i) The sum of any two odd numbers is an even number. example: 1+3=4, 3+5=8 (ii) The sum of any two even numbers is an even number. example: 4+4=8, 2+2=4
Video transcript hello guys welcome to lido homework today we're doing question number one which is what is the sum of any two first one odd numbers so let's take example of any two odd numbers so three three is odd number and five so five is also n number so now we'll add both of them so three plus five which will give us 8 both are odd but the answer is 8 which is even so the sum of any two odd numbers is even okay let's move on to the second part what is the sum of any two even numbers so now let's take any two even numbers so let's take 8 and let's take 4 so sum means addition so 8 plus 4 is 12 12 is also even therefore sum of any two even numbers is also even so answer to both of these questions is even thank you guys for watching the video if you have doubts please let me in the comments below i'll get back to you as soon as possible thank you very much
Was This helpful? 1. For propositions P and Q below, state whether or not P º Q. Write a truth table to justify your answer.
ANSWER: P º Q. Truth table is as follows.
2. Determine the truth value of the following proposition. If it is true, prove it using direct proof. If it is false, state the negation explicitly and give a counterexample.
ANSWER: True.
3. Determine the truth value of the following proposition. If it is true, prove it using direct proof. If it is false, state the negation explicitly and give a counterexample.
ANSWER: False.
4. Prove the following proposition by using proof by contradiction.
ANSWER: Proof by contradiction.
5. (Section 1.6, #4; p. 46) Using induction, verify the following equation is true for every positive integer n.
ANSWER: Proof by induction
6. (Section 1.6, #17; p. 47) Using induction, verify the following inequality.
ANSWER: Proof by induction
7. (Section 1.6, #22; p. 47) By experimenting with small values of n, guess a formula for the given sum: 1 1 1 --- + --- + .. + ----- 1*2 2*3 n(n+1) ANSWER:
8. Write an algorithm that counts the number of even numbers in a sequence s = {s1, s2, .., sn}, where si (1 <= i <= n) is an integer. ANSWER: procedure count_even(s, n) 1. count := 0 2. i := 1 3. while (i <= n) 4. begin 5. if (si mod 2 = 0) then 6. count := count + 1 7. i := i + 1 8. end 9. return count end count_even 9. Use the Euclidean algorithm to find the greatest common divisor of 527 and 62. Show the values of variables a, b and r in each iteration. ANSWER: The gcd of 527 and 62 is 31, as shown in the following table.
|