553 views
0 votes
0 votes

Find the domain and range of these functions. Note that in each case, to find the domain, determine the set of elements assigned values by the function.

  1. the function that assigns to each bit string the number of ones in the string minus the number of zeros in the string
  2. the function that assigns to each bit string twice the number of zeros in that string
  3. the function that assigns the number of bits left over when a bit string is split into bytes (which are blocks of 8 bits)
  4. the function that assigns to each positive integer the largest perfect square not exceeding this integer

Please log in or register to answer this question.

Related questions

377
views
0 answers
0 votes
Pooja Khatri asked Apr 9, 2019
377 views
Find the domain and range of these functions.the function that assigns to each pair of positive integers the first integer of the pairthe function that assigns to ... that assigns to a bit string the longest string of ones in the string
334
views
0 answers
0 votes
Pooja Khatri asked Apr 9, 2019
334 views
Find the domain and range of these functions. Note that in each case, to find the domain, determine the set of elements assigned values by the function.the ... stringthe function that assigns to a bit string the number of bits in the string
256
views
0 answers
0 votes
Pooja Khatri asked Apr 9, 2019
256 views
Determine whether $f$ is a function from the set of all bit strings to the set of integers if$f(S)$is the position of a $0$ bit in $S$.$f(S)$is the number of $1$ ... is $1$ and $f(S)=0$ when $S$ is the empty string, the string with no bits.
269
views
0 answers
0 votes
Pooja Khatri asked Apr 9, 2019
269 views
Determine whether $f$ is a function from $Z$ to $R$ if$f(n) = +-n.$f(n) = \sqrt{n^2+1}.$f(n) = 1/(n^2-4).$