answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ainat [17]
2 years ago
8

Using the bijection rule to count binary strings with even parity.

Mathematics
1 answer:
AleksandrR [38]2 years ago
3 0

Answer:

Lets denote c the concatenation of strings. For a binary string <em>a</em> in B9, we define the element f(a) in E10 this way:

  • f(a) = a c {1} if a has an odd number of 1's
  • f(a) = a c {0} if a has an even number of 1's

Step-by-step explanation:

To show that the function f defined above is a bijective function, we need to prove that f is well defined, injective and surjective.

f   is well defined:

To see this, we need to show that f sends elements fromo b9 to elements of E10. first note that f(a) has 1 more binary integer than a, thus, it has 10. if a has an even number of 1's, then f(a) also has an even number because a 0 was added. On the other hand, if a has an odd number of 1's, then f(a) has one more 1, as a consecuence it will have an even number of 1's. This shows that, independently of the case, f(a) is an element of E10. Thus, f is well defined.

f is injective (or one on one):

If a and b are 2 different binary strings, then f(a) and f(b) will also be different because the first 9 elements of f(a) form a and the first elements of f(b) form b, thus f(a) is different from f(b). This proves that f in injective.

f is surjective:

Let y be an element of E10, Let x be the first 9 elements of y, then f(x) = y:

  • If x has an even number of 1's, then the last digit of y has to be 0, and f(x) = x c {0} = y
  • If x has an odd number of 1's, then the last digit of y has to be a 1, otherwise it wont be an element of E10, and f(x) = x c {1} = y

This shows that f is well defined from B9 to E10, injective, and surjective, thus it is a bijection.

You might be interested in
Which expression is equivalent to StartFraction RootIndex 7 StartRoot x squared EndRoot Over RootIndex 5 StartRoot y cubed EndRo
Lera25 [3.4K]

Answer:

Option A.

Step-by-step explanation:

The given expression is

\dfrac{\sqrt[7]{x^2}}{\sqrt[5]{y^3}}

where, y\neq 0.

We need to find the expression which is equivalent to the given expression.

The given expression can be rewritten as

\dfrac{(x^2)^{\frac{1}{7}}}{(y^3)^{\frac{1}{5}}}      [\because \sqrt[n]{x}=x^{\frac{1}{n}}]

\dfrac{x^{\frac{2}{7}}}{y^{\frac{3}{5}}}      [\because (a^m)^n=a^{mn}]

x^{\frac{2}{7}}y^{-\frac{3}{5}}      [\because a^{-n}=\dfrac{1}{a^n}]

Therefore, the correct option is A.

8 0
2 years ago
Read 2 more answers
85 percent of California community college transfers feel that their community college adequately prepared them to handle upper-
suter [353]

Answer:

Ans 1 is correct.

Step-by-step explanation:

We have given that,

p=0.85,

n=20.

we know that

1-P(x=1)=1-(0.85×0.15^19)=0.999

Ans 1 is correct.

7 0
2 years ago
Read 2 more answers
A sports car and a minivan run out of gas and are pushed to the side of the road. Which is easier to push, and why?
nirvana33 [79]

Answer:

The sports car, because it has less mass and therefore less inertia

Step-by-step explanation:

When an object has less inertia it is easier to be put into and out of motion, and a sports car would obviously weigh less than a van.

5 0
2 years ago
Read 2 more answers
2m - nx = x + 4 with description
3241004551 [841]
Since <span>x</span> contains the variable to solve for, move it to the left side of the equation by subtracting <span>x</span> from both sides.<span><span><span><span><span>2m</span><span><span>−n</span>x</span></span><span>−x</span></span>=4
</span></span>Since 2m does not contain the variable to solve for, move it to the right side of the equation by subtracting 2m from both sides.<span><span><span><span><span>n</span>x</span><span>-x</span></span>=<span><span><span>-2</span>m</span>+4</span></span></span>Factor <span>x</span> out of <span><span><span><span>−n</span>x</span><span>−x</span></span></span><span><span><span>x<span>(<span><span>−n</span><span>−1</span></span>)</span></span>=<span><span><span>−2</span>m</span>+4</span></span></span>Divide each term by <span><span><span>−n</span><span>−1</span></span><span><span>-n</span><span>-1</span></span></span> and simplify.<span>x=<span><span><span>2<span>(<span>m<span>−2</span></span>)/</span></span><span>n+1</span></span></span></span>
7 0
2 years ago
A statistics practitioner in a large university is investigating the factors that affect salary of professors. He wondered if ev
Ulleksa [173]

Answer:

Step-by-step explanation:

Hello!

Given the linear regression of Y: "Annual salary" as a function of X: "Mean score on teaching evaluation" of a population of university professors. It is desired to study whether student evaluations are related to salaries.

The population equation line is

E(Y)= β₀ + β₁X

Using the information of a n= 100 sample, the following data was calculated:

R²= 0.23

                Coefficient    Standard Error  

Intercept    25675.5           11393

x                  5321                  2119

The estimated equation is

^Y= 25675.5 + 5321X

Now if the interest is to test if the teaching evaluation affects the proffesor's annual salary, the hypotheses are:

H₀: β = 0

H₁: β ≠ 0

There are two statistic you can use to make this test, a Student's t or an ANOVA F.

Since you have information about the estimation of  β you can calculate the two tailed t test using the formula:

t= \frac{b - \beta }{\frac{Sb}{\sqrt{n} } } ~t_{n-2}

t= \frac{ 5321 - 0 }{\frac{2119}{\sqrt{100} } } = 25.1109

The p-value is two-tailed, and is the probability of getting a value as extreme as the calculated t_{H_0} under the distribution t_{98}

p-value < 0.00001

I hope it helps!

3 0
2 years ago
Other questions:
  • .<br> Simplify (−34.67)0
    15·1 answer
  • The enrollment in college a may be modeled by y = 0.051x + 0.470, and the enrollment in college b may be modeled by y = –0.041x
    9·1 answer
  • You design the wooden poster frame and paint the front surface a. write a polynomial that represents the area of the wood you pa
    9·1 answer
  • Greg plays baseball at a field where the baseball diamond is a square with each side of the square measuring 90 feet. If the bas
    5·1 answer
  • A pebble is tossed into the air from the top of a cliff. The height, in feet, of the pebble over time is modeled by the equation
    13·1 answer
  • Name a career that requires data-analysis skills. Describe how data analysis is used in this career. Be specific in your example
    7·1 answer
  • After their hike, Joe and Mike took a taxi back to the trailhead. The taxi cost $26 plus $0.35 per mile. Which type of function
    9·1 answer
  • Which are vertical angles? Check all that apply. ∠EAB and ∠BAC ∠EAB and ∠CAD ∠CAD and ∠FAE ∠CAB and ∠DAE ∠DAC and ∠DAE
    14·2 answers
  • Possible values for the area A of the rectangle shown are 12 ≤ A ≤ 36. Write and solve a compound inequality to find the possibl
    9·1 answer
  • A hair stylist knows that 87% of her customers get a haircut and 40% get their hair colored on a regular basis. Of the customers
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!