Question

QUESTION 8 Consider the following propositional functions. Choose the true statements. If we know that p(1) is true and we kn

0 0
Add a comment Improve this question Transcribed image text
Answer #1

QUESTION 8:

1) TRUE:

This is true because we know that p(1) is true also p(n) implies p(n+1) i.e. p(1) implies p(2). Hence, p(2) is also true. Now, we put 2 in place of n and we get that p(2) implies p(3) so, p(3) is also true. Now, we put n=3 and so on.

2) FALSE:

This is false. It is given that p(1) is true and also that if p(n) is true then p(n+2) is true so if we put n=1 then we get that if p(1) is true then p(3) is also true. Hence p(3) is also true. Now we miss out p(2) and we can never conclude that p(2) is true. So, we miss out on some of the elements to be true in the set of positive integers.

3) TRUE:

This is true because we know that p(1) and p(2) are true also p(n) and p(n+1) implies p(n+2) i.e. if p(1) and p(2) are true then p(3) is true. Hence, p(3) is also true. Now, we put 2 in place of n and we get that p(2) and p(3) implies p(4) so, p(4) is also true. Now, we put n=3 and so on.

4) FALSE:

This is false. It is given that p(1) is true and also that if p(n) is true then p(2n) is true so if we put n=1 then we get that if p(1) is true then p(2) is also true. Hence p(2) is also true. Now we put n=2 and get that if p(2) then p(4) is also true. Hence, P(4) is true. Now we put n=4 and similarly get that p(8) is also true. Now we miss out p(6) and 6 is also an even integer.

QUESTION 9:

I'm considering the first case where f(p) = (p+3)mod26

d:

so, p=3

Now, f(3) = (3+3)mod26 = 6mod26 =6 = G

o:

so, p=14

Now, f(14) = (14+3)mod26 = 17mod26 =17 = R

n:

so, p=13

Now, f(13) = (13+3)mod26 = 16mod26 =16 = Q

t:

so, p=19

Now, f(19) = (19+3)mod26 = 22mod26 =22 = W

p:

so, p=15

Now, f(15) = (15+3)mod26 = 18mod26 =18 = S

a:

so, p=0

Now, f(0) = (0+3)mod26 = 3mod26 =3 = D

s:

so, p=18

Now, f(18) = (18+3)mod26 = 21mod26 =21 = V

g:

so, p=6

Now, f(6) = (6+3)mod26 = 9mod26 =9 = J

So, the answer is:-

GR QRW SDVV JR

Add a comment
Know the answer?
Add Answer to:
QUESTION 8 Consider the following propositional functions. Choose the true statements. If we know that p(1)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Let P(n) be some propositional function. In order to prove P(n) is true for all positive...

    Let P(n) be some propositional function. In order to prove P(n) is true for all positive integers, n, using mathematical induction, which of the following must be proven? OP(K), where k is an arbitrary integer with k >= 1 If P(k) is true, then P(k+1) is true, where k is an arbitrary integer with k >= 1 P(O) P(k+1), where k is an arbitrary integer with k>= 1

  • We know that we can reduce the base of an exponent modulo m: a(a mod m)k...

    We know that we can reduce the base of an exponent modulo m: a(a mod m)k (mod m). But the same is not true of the exponent itself! That is, we cannot write aa mod m (mod m). This is easily seen to be false in general. Consider, for instance, that 210 mod 3 1 but 210 mod 3 mod 3 21 mod 3-2. The correct law for the exponent is more subtle. We will prove it in steps (a)...

  • 1. 5 points Let G, H, J, and P denote the following propositional variables: G: "Jo knows where the gold is hidden....

    1. 5 points Let G, H, J, and P denote the following propositional variables: G: "Jo knows where the gold is hidden." J : "Jo is a knight." H: "Pat knows where the gold is hidden." P: "Pat is a knight." One fine day, while we are strolling along on The Island of Knights & Knaves, we meet Jo and Pat, each of whom is an inhabitant of The Island of Knights & Knaves Jo says "We both know where...

  • (1 point) We will determine whether the series n3 + 2n an - is convergent or...

    (1 point) We will determine whether the series n3 + 2n an - is convergent or divergent using the Limit Comparison Test (note that the Comparison Test is difficult to apply in this case). The given series has positive terms, which is a requirement for applying the Limit Comparison Test. First we must find an appropriate series bn for comparison (this series must also have positive terms). The most reasonable choice is ba - (choose something of the form 1/mp...

  • true and false propositions with quantifiers. Answer the following questions in the space provided below. 1....

    true and false propositions with quantifiers. Answer the following questions in the space provided below. 1. For each proposition below, first determine its truth value, then negate the proposition and simplify (using De Morgan's laws) to eliminate all – symbols. All variables are from the domain of integers. (a) 3.0, x2 <. (b) Vr, ((x2 = 0) + (0 = 0)). (c) 3. Vy (2 > 0) (y >0 <y)). 2. Consider the predicates defined below. Take the domain to...

  • In: the set {1,...,n} consisting of the positive integers 1 up to n (n included). P(S):...

    In: the set {1,...,n} consisting of the positive integers 1 up to n (n included). P(S): the power set of a set S; namely, the set of all subsets of S. P*(S): = P(S) - {@}; namely, the set of all non-empty subsets of S. The following question is a challenging one! As a start, may be you try this question for small values of n, say n=1,2,3. Can you make a guess? (1) We all know that P*(On) has...

  • Are the following statements true or false? 1. Let a be the sequence of numbers defined...

    Are the following statements true or false? 1. Let a be the sequence of numbers defined by the rules a0 = 0 and, for any n, an+1 = (n + 1) - an. Then for any natural n, an is the natural denoted in Java by "n/2". 2. Let f be any function from naturals to naturals and let g(n) be the sum, for i from 1 to n, of f(i). Suppose I have a function h from naturals to...

  • Please answer question 3 Find all (infinitely many) solutions of the system of congruence's: Use Fermata...

    Please answer question 3 Find all (infinitely many) solutions of the system of congruence's: Use Fermata little theorem to find 8^223 mod 11. (You are not allowed to use modular exponentiation.) Show that if p f a, then a^y-2 is an inverse of a modulo p. Use this observation to compute an inverse 2 modulo 7. What is the decryption function for an affine cipher if the encryption function is 13x + 17 (mod 26)? Encode and then decode the...

  • in a Bayesian view. Consider the prior π(a)-1 for all a e R Consider a Gaussian linear model Y = aX+ E Determine whether each of the following statements is true or false. π(a) a uniform prior. (1) (...

    in a Bayesian view. Consider the prior π(a)-1 for all a e R Consider a Gaussian linear model Y = aX+ E Determine whether each of the following statements is true or false. π(a) a uniform prior. (1) (a) True (b) False L(Y=y14=a,X=x) (2) π(a) is a jeffreys prior when we consider the likelihood (where we assume xis known) (a) True (b)False Y-XB+ σε where ε E R" is a random vector with Consider a linear regression model E[ε1-0, E[eErJ-1....

  • 1. What is wrong with the following proof that shows all integers are equal? (Please explain...

    1. What is wrong with the following proof that shows all integers are equal? (Please explain which step in this proof is incorrect and why is it so.) Let P(n) be the proposition that all the numbers in any set of size n are equal. 1) Base case: P(1) is clearly true. 2) Now assume that P(n) is true. That is for any set of size n all the numbers are the same. Consider any set of n + 1...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT