Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A monkey randomly presses n keys of a computer. For simplicity, assume each key press is one of the 26 letters of the English alphabet.

image text in transcribed

A monkey randomly presses n keys of a computer. For simplicity, assume each key press is one of the 26 letters of the English alphabet. Each key press is independent of all previous presses, and equally likely to be one of the 26 letters. Thus, there are 26" possible combinations of letters, all equally likely. a) Compute the expected number of occurrences of hello. Justify your work. b) Let X be the sum of the number of occurrences of "hello and goodbye. For example, if there are 2 occurrences of hello and 1 occurrence of goodbye then X = 3. Compute E [X]. A monkey randomly presses n keys of a computer. For simplicity, assume each key press is one of the 26 letters of the English alphabet. Each key press is independent of all previous presses, and equally likely to be one of the 26 letters. Thus, there are 26" possible combinations of letters, all equally likely. a) Compute the expected number of occurrences of hello. Justify your work. b) Let X be the sum of the number of occurrences of "hello and goodbye. For example, if there are 2 occurrences of hello and 1 occurrence of goodbye then X = 3. Compute E [X]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Organisational Change Audit

Authors: Ralph Houston

1st Edition

1907766014, 978-1907766015

More Books

Students also viewed these Accounting questions