
Consider the following statement Provide one definition of a non-empty set U, and predicates P, Q, and R over U, that m...
4. [7 marks] Choosing a universe and predicates. (a) Consider the following statement: Vx EN, P(r, 165)P(x,1) Provide one definition of a binary predicate P over Nx N that makes the above statement True, and another definition of P that makes the statement False. Briefly justify your answers, but no formal proofs are necessary b) Consider the following statement: Provide one definition of a non-empty set U, and predicates P, Q, and R over U, that makes the above statement...
Provide complete definitions for the following:
7 marks] Choosing a universe and predicates. (a) Consider the following statement: Vz E N, P(x,165) -> P(x, 1) Provide one definition of a binary predicate P over N x N that makes the above statement True, and another definition of P that makes the statement False. Briefly justify your answers, but no formal proofs are necessary. b) Consider the following statement: Provide one definition of a non-empty set U, and predicates P, Q,...
Q2. Let u and v be non-parallel vectors in Rn and define Suv (a) Does the point r lie on the straight line through q with direction vector p? (b) Does the point s lie on the straight line through q with direction vector p? (c) Prove that the vectors s and p -r are parallel. (d) Find the intersection point of the line {q+λ p | λ E R} and the line through the points u and v. Q3....
Problem 1. Given the vector space P the basis B -<1,7,',r'> of P, let U - span[1,2]. V-span c and W -spanr x '] Which of the following statements is true? 1. UV = 0 2. UUV is a vector subspace of P -P 3. U nW - and for any vector subspace P of P UW SPP 4. UUW = P. 5. All except statement 3 is false. Problem 2. Consider the function P, R such that f(1-r) -...
2. 9 marks] Strings. Consider the following definitions on strings Let U be the set of all strings Let s be a string. The length or size of a string, denoted Is, is the number of characters in s Let s be a string, and i e N such that 0 < ί < sl. We write s[i] to represent the character of s at index i, where indexing starts at 0 (so s 0] is the first character, and...
2. 9 marks] Strings. Consider the following definitions on strings Let U be the set of all strings. Let s be a string. The length or size of a string, denoted Is, is the number of characters in s Let s be a string, and ie N such that 0 Si< Is. We write si] to represent the character of s at index i, where indexing starts at 0 (so s(0 is the first character, and s|s -1 is the...
#7. TRUE/FALSE. Determine the truth value of each sentence (no explanation required). ________(a) k in Z k2 + 9 = 0. ________(b) m, n in N, 5m 2n is in N. ________(c) x in R, if |x − 2| < 3, then |x| < 5. #8. For each statement, (i) write the statement in logical form with appropriate variables and quantifiers, (ii) write the negation in logical form, and (iii) write the negation in a clearly worded unambiguous English sentence....
Hi,
could you post solutions to the following questions. Thanks.
2. (a) Let V be a vector space on R. Give the definition of a subspace W of V 2% (b) For each of the following subsets of IR3 state whether they are subepaces of R3 or not by clearly explaining your answer. 2% 2% (c) Consider the map F : R2 → R3 defined by for any z = (zi,Z2) E R2. 3% 3% 3% 3% i. Show that...
Chapter 5: Problem Set 10 Calenlate the following binomial probabilities by either using one of the binomial probahility tables, or calculating the probability with a calculator or software using the formmla n Piain,p) ald where g-1-P (a) Pr-4,n-15,p2) (b) P(z-9,n-12,p 75) (e) P(r>6,n-10, p 8) (d) P(z<20, n-20,p- 9) 11. Cards: Suppose you draw a card from a deck (with replacement) 10 times in a row What is the probability that you get exactly 4 hearts? 0- 12. Lie Détector:...
2. Consider a mass m moving in R3 without friction. It is fasten tightly at one end of a string with length 1 and can swing in any direction. In fact, it moves on a sphere, a subspace of R3 1 0 φ g 2.1 Use the spherical coordinates (1,0,) to derive the Lagrangian L(0,0,0,0) = T-U, namely the difference of kinetic energy T and potential energy U. (Note r = 1 is fixed.) 2.2 Calculate the Euler-Lagrange equations, namely...