Question: For each of the problems, write a program in MatLab to solve the scenario presented. 1. Item drops in MMO A designer is controlling the

 For each of the problems, write a program in MatLab tosolve the scenario presented. 1. Item drops in MMO A designer is

For each of the problems, write a program in MatLab to solve the scenario presented. 1. Item drops in MMO A designer is controlling the frequency at which items from a certain mob in an online game drop an item after being slain. The mob can only drop one item at a time. When the mob is slain by a player, the designer wants the following probabilities for the following item drops: Item# Probability Item Description 0.40 Potion of Strength 2 0.20 Bracelet of Strength 3 0.20 Hammer of Thunder 0.20 No item dropped 1. Run a simulation in MatLab for if the mob is slain 100 times and find the probability that the Potion of Strength is dropped. **Hint: Notice the probability of the Potion of Strength being dropped is twice the probability of the other options. *** Provide a line plot of the probability. 2. Re-run the simulation but change the number of runs to 1000 times. Provide a line plot of the probability.3. Compare the results of (a) and (b). What do you notice when the number of trials is increased? 2. Bug(s) in New Software A software designer notices that the chances of a bug or bugs existing in a new software follow the spread in the table below. Bug# Probability Bug Description 0.30 Validation Fields 2 0.20 Browser Compatiablilty 3 0.10 Different Screen Resolution 0.40 Crash After Button Click Designers have noticed that if one bug exists, the probability of a second bug reduces to half. 1. Run a simulation in Matlab that tests 100 new softwares. Provide a line plot of the probability the software having a Validation Field error followed by having a Crash After Button Click error. 2. Re-run the simulation but change the number of runs to 1000 times. Provide a line plot of the probability

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!