In each problem, make sure tha

In each problem, make sure that you are clearly defining randomvariables, stating their distributions, and writing down theformulas that you are using. (That is, write down the pmf, writedown mean and variance formulas.

4. In the video game Dota 2, the character Phantom Assassin hasa 0.15 chance to land a critical hit with every attack. Assume thateach attack is independent from the previous attacks. (Theyactually aren’t, but we’ll simplify the problem by making thisassumption. See the end of assignment for an interesting discussionof the actual mechanics.) (Hint: Declare a single random variableto use for parts a through d, and a new random variable for parts eand f)

a. Suppose we start hitting a target. What is the probabilitythat we get the first critical hit on our third attack? What is theprobability that it takes more than 10 attacks to get a singlecritical hit?

b. How many attacks should a Phantom Assassin player expect tohave to perform before getting a critical hit? What is the standarddeviation?

c. It’s subjective to decide when our luck is ‘bad’, but acommon definition of an event being unlikely is that it hasprobability less than 0.05. By this definition, how many times dowe need to attack without getting a critical hit before we can saythat our luck was bad?

d. Suppose we attack 20 times without getting a single criticalhit. What is the probability that the next attack will be acritical hit? (Hint: Does the distribution remember that you’vefailed 20 times already? Does it care at all?)

e. Suppose Phantom Assassin attacks an enemy 30 times. What isthe probability that she gets at least 3 critical hits?

f. What is the expected number of critical hits after this manyattacks?

Answer:

a.

Let X be the number of attacks required to get the firstcritical hit. Then X ~ Geometric(p = 0.15). That is, X followsGeometric distribution with parameter p = 0.15

Probability that we get the first critical hit on our thirdattack = (1 – p)2 * p = (1 – 0.15)2 * 0.15 =0.108375

Probability that it takes more than 10 attacks to get a singlecritical hit = P(X > 10) = (1 – p)10 = (1 -0.15)10 = 0.19687

b.

Expected value of X = 1/p = 1/0.15 = 6.67

Standard deviation = = 6.146

c.

We need to find the minimum value of x such that

P(X > x) < 0.05

(1-p)x < 0.05

Taking log, we get

x * log(1 – 0.15) < log(0.05)

-0.1625 x < -2.996

=> x > 2.996 / 0.1625 = 18.437

So, we need to attack at least 19 times without getting acritical hit before we can say that our luck was bad.

d.

Each attack is independent from the previous attacks. So, theprobability that the next attack will be a critical hit will be p =0.15

e.

Let Y be the number of critical hits done in 30 attacks. Then Y~ Binomial(n = 30, p = 0.15)

Probability that she gets at least 3 critical hits = P(Y3) = 1 – P(Y < 3)

= 1 – [P(Y = 0) + P(Y = 0) + P(Y = 2) ]

= 1 – [30C0  * 0.150* (1 – 0.15)30-0 +30C1  * 0.151 * (1 -0.15)30-1 + 30C2  *0.152 * (1 – 0.15)30-2 ]

= 1 – (0.00763 + 0.0404 + 0.10337)

= 0.8486

f.

Expected number of critical hits after this many attacks = np =30 * 0.15 = 4.5


 
"Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!"
Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with brilliantassignmenthelp.com
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
Testimonials
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
11,595
Customer reviews in total
96%
Current satisfaction rate
3 pages
Average paper length
37%
Customers referred by a friend
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
Close

Sometimes it is hard to do all the work on your own

Let us help you get a good grade on your paper. Get professional help and free up your time for more important courses. Let us handle your;

  • Dissertations and Thesis
  • Essays
  • All Assignments

  • Research papers
  • Terms Papers
  • Online Classes