Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE WRITE IN C++ . I NEED A CODE, NOT A CALCULATION. PLEASE DO NOT ANSWER IF YOU CAN'T PROVIDE THAT. PLEASE I BEG YOU.

PLEASE WRITE IN C++ . I NEED A CODE, NOT A CALCULATION. PLEASE DO NOT ANSWER IF YOU CAN'T PROVIDE THAT. PLEASE I BEG YOU. PLEASE DO NOT COPY GIVE ME THE SAME CALCULATION AGAIN. PLEASE I NEED A CODEEEEEEEE!!!!!!!!!!!!! IF YOU CANNOT DO THAT JUST DON'T ANSWER!!!! I NEED A CODE!!!!!!!!!!!!!!

Loot Boxes refer to a pay-to-win mechanism that players are able to buy a lottery and win advanced game items with certain probability. A famous streamer in Taiwan paid millions of NTD to play the lottery for over 471 times and ultimately wins 11 advanced items. The game publisher claims that the winning probability should be 10% per se. That is, if you buy 471 lotteries, your expected value of advanced items should be around 47 (47.1 exactly).

Please fix the winning probability to 10% and use Monte Carlo to simulate that:

  1. 10,000,000 rounds of simulation

  2. 471 lotteries in each round

  3. Based on 10,000,000 rounds of simulation, what is the probability of

    1. Winning

    2. Winning

    3. Winning

    4. Winning

Feel free to use your own format to output the results.

OUTPUT :

(10,000,000 times)

image text in transcribed

(100,000,000 times)

image text in transcribed

PLEASE WRITE IN C++ . I NEED A CODE, NOT A CALCULATION. PLEASE DO NOT ANSWER IF YOU CAN'T PROVIDE THAT. PLEASE I BEG YOU. PLEASE DO NOT COPY GIVE ME THE SAME CALCULATION AGAIN. PLEASE I NEED A CODEEEEEEEE!!!!!!!!!!!!! IF YOU CANNOT DO THAT JUST DON'T ANSWER!!!!

I NEED A CODE!!!!!!!!!!!!!!!

1 %%shell 2 g++ W155.cpp -o W155 3./W155 The estimated prob. of winning

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

Database Marketing The Ultimate Marketing Tool

Authors: Edward L. Nash

1st Edition

0070460639, 978-0070460638

More Books

Students also viewed these Databases questions

Question

b. What groups were most represented? Why do you think this is so?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago