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
krek1111 [17]
3 years ago
8

Consider all length-13 strings of all uppercase letters. Letters may be repeated.

Mathematics
1 answer:
serg [7]3 years ago
5 0

a. Your answer is correct, 26 choices for each of 13 positions, so \boxed{26^{13}} total possible strings.

b. You have the right idea, but your method only counts one type of permutation, like

C H A R I T Y _ _ _ _ _ _

but doesn't account for other arrangements like

_ _ _ C H A R I T Y _ _ _

or

_ _ _ _ _ C H A R I T Y _

Treating CHARITY as one letter, we're then considering strings of length 7 (6 open slots plus this string), which we can arrange in 7! different ways. So the total number of such strings is \boxed{7!26^6}.

c. This one is a bit more involved. I would go about it by counting the number of strings containing CHARITY but not HORSES, HORSES but not CHARITY, and both CHARITY and HORSES.

  • CHARITY but not HORSES

As we know from part (a), there are 7!26^6 strings containing CHARITY, but the string HORSES can be found whenever there are 6 open slots to either side of CHARITY, i.e. in strings of either form

C H A R I T Y _ _ _ _ _ _

or

_ _ _ _ _ _ C H A R I T Y

Then there are 2 strings that we want to remove from the count, giving 7!26^6-2 such strings.

  • HORSES but not CHARITY

Reasoning as we did in part (b) suggests that there are 8!26^7 possible strings containing HORSES, and reasoning as we did in the previous case suggests only 2 of these contain CHARITY, giving a total of 8!26^7-2 such strings.

  • CHARITY and HORSES

There are 2 such strings,

C H A R I T Y H O R S E S

H O R S E S C H A R I T Y

Then by the inclusion-exclusion principle, the number of strings containing either CHARITY or HORSES is (7!26^6-2)+(8!26^7-2)-2=7!26^6209-6.

Finally, the number of strings containing neither CHARITY nor HORSES is complementary to the number of strings containing either of them, so the total is 26^{13}-(7!26^6209-6)=\boxed{26^{13}-7!26^6209+6}.

You might be interested in
Find the perimeter and area of the parallelogram shown below
Alona [7]

Answer:

The perimeter of the rhombus is 218. And I think the area is 4320. Wait for more responses to be sure also for the trapezoid I used 54 as my base added them two times then multiplied it by 55 I didn't know if I had to do multiply it by 50 so after I multiplied it by 55 then divided it by two and added it to the area of the triangle in the figure. I'm not sure if I make sense but I know for sure the perimeter is 218.

Step-by-step explanation:

6 0
3 years ago
In science class, a student is measuring the temperature of a solution in science experiment. The solution
Radda [10]

Answer:

-11.8

Step-by-step explanation:

<u>Given:</u>

-3.4 to 12.4        increased  (difference = 15.8)

12.4 to 20.4      decreased (difference = 8)

20.4 to 3.2        increased  (difference = 17.2)

<u>To find:</u>

Final temperature.

Solution:

As we noticed, this is a pattern of increase, decrease, increase... (and so on and so forth). From this alone, we have gotten the clue that the temperature is going to decrease. But here is the thing, How far will it decrease?

Use the difference of the starting result to find the ending result.

3.2 - 15

= -11.8

Therefore, the final temperature is -11.8.

6 0
3 years ago
6th grade math help me pleaseeee...
iren2701 [21]

Answer:

-3.8

Step-by-step explanation:

u = 3.8

u × -1 = 3.8 × -1

-u = -3.8

3 0
3 years ago
Gina wrote the following paragraph to prove that the segment joining the midpoints of two sides of a triangle is parallel to the
blsea [12.9K]
Hello,
Please, see the attached files.
Thanks.

7 0
3 years ago
Read 2 more answers
Can you help please?
lina2011 [118]
-5/2

an example of how to write it is :)

5 0
3 years ago
Read 2 more answers
Other questions:
  • A company sells I shirts for $6 each. They also charge a one time processing fee of $3
    14·1 answer
  • to print tickets, a printer charges $45 setup fee plus $2.00 per ticket. Write an algebraic expression for the cost of t tickets
    13·1 answer
  • Which sentence in this excerpt from Common Sense by Thomas Paine supports the claim that the American colonies could thrive inde
    10·1 answer
  • Two lengths of a triangle are shown.
    10·1 answer
  • Write an equation of the line below.
    13·2 answers
  • Do u know who to rea cause I don't T-T
    9·1 answer
  • Given g(x) = -x – 4, solve for x when g (x)= -4
    14·1 answer
  • Jessica is returning home from a trip. The function d(t)=458-60t models the distance, in miles, that Jessica is from her house t
    10·1 answer
  • What is? 50 minus the quotient of y and 46
    11·1 answer
  • Lily ran 100 meters in 15 seconds. How long did she take to run 2 meters
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!