Find the domain and range of these functions.
c) the function that assigns to a bit string the number of
times the block 11 appears
d) the function that assigns to a bit string the numerical
position of the first 1 in the string and that assigns the
value 0 to a bit string consisting of all 0s
c. The Domain of the Function is: the set R of real numbers since any real number can be written as a bit string in the binary system.
The Range of the function is; the set N of natural numbers including 0 due to the fact that a bit string can have 0 or 1 or 2 or more blocks “11”
d. Domain is all real numbers on the bit string.
Range is the natural number N plus 0.
Comments
Leave a comment