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
Digiron [165]
3 years ago
6

1. (10 pts.) Suppose you have a language with only 3 letters: A, B, and C, which occur with frequencies 0.7, 0.2, and 0.1, respe

ctively. The following ciphertext was encrypted by the Vigen`ere method: BABABCBCAC. Assume that the key length is either 1, 2, or 3. Find the most likely key length and determine the most likely key using the method from class. Solution: We compare BABABCBCAC with its shifts by 1, 2, and 3, looking for overlaps. There are no overlaps for a shift of 1 or 3, but there are 6 overlaps for a shift of 2. Thus we expect the key length to be 2. Looking at every other letter, we see BBBBA and AACCC for the letters in even and odd positions, respectively. Due to the overwhelming frequency of the letter A in the language, we can reasonably assume that B decrypts to to A in the first sequence and C decrypts to A in the second. This gives us the key BC.

Mathematics
1 answer:
butalik [34]3 years ago
3 0

Answer:

The solution to this question is attached below:

You might be interested in
Solve -17 =<br> 7 / 3 for x.
inn [45]
Men i dont even know
3 0
3 years ago
A survey is being conducted in a county where 62% of the voters are Democrats and 38% are Republican. (a) What is the probabilit
Inessa05 [86]

Answer:

0.3844 = 38.44% probability that two independently surveyed voters would both be Democrats

Step-by-step explanation:

For each voter, there are only two possible outcomes. Either the voter is a Democrat, or he is not. The probability of the voter being a Democrat is independent of other voters. So we use the binomial probability distribution to solve this question.

Binomial probability distribution

The binomial probability is the probability of exactly x successes on n repeated trials, and X can only have two outcomes.

P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}

In which C_{n,x} is the number of different combinations of x objects from a set of n elements, given by the following formula.

C_{n,x} = \frac{n!}{x!(n-x)!}

And p is the probability of X happening.

62% of the voters are Democrats

This means that p = 0.62

(a) What is the probability that two independently surveyed voters would both be Democrats?

This is P(X = 2) when n = 2. So

P(X = x) = C_{n,x}.p^{x}.(1-p)^{n-x}

P(X = 2) = C_{2,2}.(0.62)^{2}.(0.38)^{0} = 0.3844

0.3844 = 38.44% probability that two independently surveyed voters would both be Democrats

3 0
3 years ago
Hospital A has treated 156 cases of E. coli infection in the past year. Hospital B has treated 51 fewer cases. How many cases di
solniwko [45]

Answer:

105 Cases

Step-by-step explanation:

Subtract 156-51

Fewer shows subtraction

6 0
3 years ago
Simplify the expression, only odds 9-17
Elodia [21]

All exercises involve the same concept, so I'll show you how to do the first, then you can apply the exact same logic to all the others.

The first thing you need to know is that, when a certain quantity multiplies a parenthesis, you can distribute that number to every element in the parenthesis. This means that

a(b+c) = ab+ac

So, a is multiplying the parenthesis involving b and c, and we distributed it: a multiplies both  b and c in the final result.

Secondly, you have to know how to recognize like terms, because they are the only terms you can sum. Two terms can be summed if they have the same literal expression. So, for example, you cannot sum 3x+2y, and neither 5x^2-4x exponents count.

But you can su, for example,

5x-3x = (5-3)x = 2x

or

23xy^2z^6 - 17xy^2z^6 = 6xy^2z^6

So, take for example exercise 9:

1.2(7x-5y) - (10y-4.3x)

We distribute the 1.2 through the first parenthesis:

1.2(7x-5y) = 1.2 \cdot 7x - 1.2 \cdot 5y = 8.4x-6y

And you can distribute the negative sign through the second parenthesis (it counts as a -1 to distribute):

- (10y-4.3x) = -10y+4.3x

So, the expression becomes

8.4x-6y-10y+4.3x

Now sum like terms:

(8.4+4.3)x + (-6-10)y = 12.7x - 16y

7 0
3 years ago
I WILL GIVE BRAINLIEST!!! 10 POINTS!!!
Natasha_Volkova [10]

Answer:1

Step-by-step explanation: 1/2 + 1/2 is 1

8 0
3 years ago
Read 2 more answers
Other questions:
  • You estimate that your friend is 50 inches tall. That actual height of your friend is 54 inches. Find the percent error.
    10·1 answer
  • Which of the following are mathematical sentences? . . Check all that apply.. . A. 4 - a = 11 . B. 5x . C. m - 8 . D. r &gt; 6 .
    12·2 answers
  • Joseph earned $53 the first week he worked at Jim’s Candy Store and $62 the next week. How much did Joseph earn his first two we
    12·1 answer
  • Is it A B C or D Please tell me how you got it and double check before you submit. Thanks
    14·2 answers
  • Find the inclination of the line x - 3y = 9 to the nearest degree
    12·1 answer
  • creating a diagram so far this session a team has won 51 out of 68 games identify the value of a b c and d that complete the bar
    12·1 answer
  • Solve the equation.<br> n + 26.3 = 20.11<br> O 6.19<br> 0-6.19<br> 0 46.41<br> O-46.41
    9·2 answers
  • You are running at a speed of 2 meters per second. At that speed, how many feet would you run in a minute?
    5·2 answers
  • Andrés, in his shop, stores the buttons in bags. In box A, he has bags of 24 buttons each with no buttons left. In box B, he has
    6·1 answer
  • The length, in centimeters, of a diagonal of a rectangle is represented by the expression below.
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!