xxchosenxx1012 xxchosenxx1012
  • 19-01-2018
  • Mathematics
contestada

6
c.find the domain and range of the function that assigns to a bit string the number of ones minus the number of zeros in the string

Respuesta :

mathmate
mathmate mathmate
  • 19-01-2018
Let bitstrings have a maximum length of L bits.
and f(x)=number of one-bits less number of zero-bits.
x=length of bitstring in bits.

Case 1: x=L, all L bits are ones
Then f(x)=L
Case 2: x=L, all L bits are zeroes
Then f(x)=-L

Then 
dom f(x)=[0,L]
range f(x) = [-L,L]


Answer Link

Otras preguntas

ricky can type 161 words in 7 minutes. how many can words can he type in 20 minutes.
Taxpayers can expect to pay penalties when they are ____________ in sending what they owe. A. contentious B. dilatory C. introverted D. subservient
rocks , temperature , and water ARE what part of the environment
By the time a child is about three, about how many brain connections will be present on average? One hundred One million One billion One trillion
A propagandist tries to convince the reader to accept his viewpoint on an issue. True False
what is 1 5/8 - 3/8? express the answer in simplest form....
CAN TWO DIFFERENT SIZE SQUARES HAVE THE SAME PERIMETER ? EXPLAIN.
Adanna had a glass cylinder with a radius of 6 cm and a height of 25 cm. She placed 3 balls, each with a diameter of 6 cm, into the cylinder. She filled the res
If F(x) = x² + 4x and G(x) = 2x + 2, find F(5) + G(6).
Corporations are owned by __________. A. partners B. governments C. stockholders D. financial institutions