Consider the relation R= {(1,2),(2,2),(2,3),(3,1),(3,3)}. Is R
transitive, not reflexive, symmetric or equivalence relation?
Consider the relation R= {(1,2),(2,2),(2,3),(3,1),(3,3)}. Is R
transitive, not reflexive, symmetric or equivalence relation?
Determine whether the given relation is an equivalence relation
on {1,2,3,4,5}. If the relation is an...
Determine whether the given relation is an equivalence relation
on {1,2,3,4,5}. If the relation is an equivalence relation, list
the equivalence classes (x, y E {1, 2, 3, 4, 5}.)
{(1,1), (2,2), (3,3), (4,4), (5,5), (1,3), (3,1), (3,4),
(4,3)}
If the relation above is not an equivalence relation, state that
the relation is not an equivalence relation and why.
Example: "Not an equivalence relation. Relation is not
symmetric"
Remember to test all pairs in relation R
1. Two dice are rolled. There are 36 possible outcomes, the
sample space is:
(1,1) (1,2)...
1. Two dice are rolled. There are 36 possible outcomes, the
sample space is:
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (2,1) (2,2) (2,3) (2,4)
(2,5) (2,6) (3,1) (3,2) (3,3) (3,4) (3,5) (3,6) (4,1) (4,2) (4,3)
(4,4) (4,5) (4,6) (5,1) (5,2) (5,3) (5,4) (5,5) (5,6) (6,1) (6,2)
(6,3) (6,4) (6,5) (6,6)
A = ‘second roll is a 6’
B = ‘sum of two dice equals 7’
C = ‘sum of two dice equals 3’
a. What is P(B|A)?
b. What is...
Q1. Use Union statements to show the following: list the number of artists that have a...
Q1. Use Union statements to show the following: list the number of artists that have a webaddress, the number of artists that do not have a webaddress, and the total number of artists. The output should look like:
+--------------------------+----------+
| Has webaddress | count(*) |
+--------------------------+----------+
| Has webaddress | 5 |
| Does not have webaddress | 6 |
| Total | 11 |
+--------------------------+----------+
Q2. A new salesperson has been hired. Their SalesID is 5, full name is...