1answer.
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
kherson [118]
4 years ago
8

Transforming between two encodings for Boolean vectors. A Boolean n-vector is one for which all entries are either 0 or 1. Such

vectors are used to encode whether each of n conditions holds, with ai = 1 meaning that condition i holds. Another common encoding of the same information uses the two values −1 and +1 for the entries. For example the Boolean vector (0,1,1,0) would be written using this alternative encoding as (−1, +1, +1, −1). Suppose that x is a Boolean vector with entries that are 0 or 1, and y is a vector encoding the same information using the values −1 and +1. Express y in terms of x using vector notation. Also, express x in terms of y using vector notation.
Mathematics
1 answer:
katrin2010 [14]4 years ago
7 0

Answer:

See below

Step-by-step explanation:

We are looking for a function f such that

f(0) = -1

f(1) = 1

One of the simplest ones is the line that joins (0, -1) and (1,1)

y = 2x -1

So, if we have a Boolean n-vector in the first codification (0,1)

\large X=(x_1,x_2,...x_n)  

then

\large (2x_1-1,2x_2-1,...2x_n-1)=(y_1,y_2,...,y_n) =Y

is the expression of Y in terms of X.

Similarly, the inverse function of the line, x = (y+1)/2, does the inverse transformation.

That is to say, if we have a vector  

\large Y=(y_1,y_2,...,y_n)

in the second codification -1 and +1

\large (\frac{y_1+1}{2},\frac{y_2+1}{2},...\frac{y_n+1}{2})=(x_1,x_2,...x_n)=X

is the expression of X in terms of Y

You might be interested in
What expression is equivalent to 1/2 divided by 2/3
Maslowich

Answer:

3/4

Step-by-step explanation:

4 0
4 years ago
Read 2 more answers
Fast brainley I give brainliest to correct answers only.
nikitadnepr [17]
The correct answers would be -5.01 , -8
3 0
2 years ago
Read 2 more answers
12. The Opera is collecting monies in advance for ticket sales. The tickets cost $17.50 each.
Debora [2.8K]

Answer:

The number of tickets they have sold in advance are summed up with the following equation and solution:

Equation: \frac{6842.50}{17.50} [the final answer should be in dollars]

Solution: The Opera sold 391 tickets in advance.

Step-by-step explanation:

First: Review some background information:

Let's see what the problem gives us to answer it. I'll bold out the important parts:

The Opera is collecting monies in advance for ticket sales. The tickets cost $17.50 each. If they have collected $6842.50 already, then how many tickets have they sold in advance?

We know how much the tickets cost and how much money they have earned from selling tickets, we can find out how much tickets they have sold.

Second: Solve the problem:

We can solve this problem using many ways, but I'm just going to pick one. We will use proportions to answer this. Now thoughts might be going through your head like this: What is this guy saying? What in the world is proportions? Well hopefully you learn from this example (Please don't take offense if you <em>do</em> know how to do proportions).

First we set up two fractions. One ticket costs $17.50, so we will use it to set up our first fraction: \frac{1}{17.50}. We don't know how many tickets all together cost $6842.50 so we will use the variable: x. Now, we can set up our second fraction. x tickets costs $6842.50 so our second fraction will be: \frac{x}{6842.50}. Now we must use cross multiplication. We multiply the numerator of the first fraction times the denominator of the second fraction, and then we multiply the denominator o the first fraction times the numerator of the second fraction. That's what we would do usually. But now, since we have a variable, we must use cross multiplication to solve for this variable. So we multiply the the numerator of the first fraction times the denominator of the other fraction and then we divide that answer times the denominator of the first fraction (You don't have to set it up like this).So let's solve this question:

\frac{1}{17.50}  \frac{x}{6842.50}

1 x 17.50 = 17.50

6842.50 ÷ 17.50 = 391

So our equation is 6842.50 ÷ 17.50, and our solution is 391 tickets

Topic: Proportions

6 0
3 years ago
ted popped a baseball straight up with an initial velocity of 48 ft/s. The height, h, in feet, of the ball above the ground is m
creativ13 [48]

Answer:

3 seconds

Step-by-step explanation:

We have to give us the following function h (t) = - 16 * t ^ 2 + 48 * t + 3

Now, they tell us that the height is 3 feet, therefore replacing that value we have left:

3 = -16 * t ^ 2 + 48 * t + 3, operating cancels 3. And it would be:

-16 * t ^ 2 + 48 * t = 0

Removing common factor -16 * t, it would be:

(-16 * t) * (t - 3) = 0

We have two solutions:

-16 * t = 0 ---> t = 0

 t - 3 = 0 ---> t = 3

Because the time cannot be 0 seconds, the time it would take the ball in the air is 3 seconds.

4 0
3 years ago
Use suitable identities to find the product of 1) (x-4) (x+10) 2) (3x+4) (3x +5) 3) (-3a +5b +4c)^2
OverLord2011 [107]

Answer:

Step-by-step explanation:

(x-4) (x+10)  ⇒ (x+a)(x+b)=x²+(a+b)x+ab

a=-4 , b=10

x²+(-4+10)x+-4(10)

x²+6x-40

(3x+4) (3x +5)

3(x+4/3) *3(x+5/3)  ⇒ identity : (x+a)(x+b)=x²+(a+b)x+ab  

a=4/3    b=5/3

3*3=9

9[x²+(4/3 +5/3)x+4/3(5/3)]

9[x²+9/3 x+20/9]

9x²+27x+20

(-3a +5b +4c)^2  ⇒  

suitable identity is (a+b+c)²= a² + b² + c² + 2ab + 2bc + 2ca

a=-3a , b=5b , c=4c

9a²+25b²+16c²- 30ab +40bc - 24ca

5 0
4 years ago
Other questions:
  • Using the graph of f(x) below, find lim f(x), x -&gt;3<br><br> -5<br> Does not exist<br> 0<br> 1.7
    11·1 answer
  • How to solve the problem
    10·1 answer
  • Help me with this problem pls
    15·1 answer
  • You are running a fuel economy study. One of the cars you find is blue. It can travel 28 2/5 miles on 1 1/4 gallons of gasoline.
    14·1 answer
  • What’s the answer for this?? Help (foolish answers will be reported)
    14·2 answers
  • The sum of the measures of the interior angles of a convex polygon is 1,980. How many sides does the polygon have? sides
    11·1 answer
  • Seven times a number minus the number is -48. Find the number.
    9·2 answers
  • Will ran the diagonal distance across a square feild measuring 49 yards on each side. James ran the diagonal distance across a r
    8·1 answer
  • A manufacturer makes chocolate squares that have a target weight of 8 g. Quality control engineers sample 30 chocolate squares t
    7·1 answer
  • Please answer this question <br>It's really important ​
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!