Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

!!!!!!!!!!!!!! WRITE C++ CODE !!!!!!!!!!!!! PLEASE DON'T COPY OTHERS CODE Loot Boxes refer to a pay-to-win mechanism that players are able to buy a lottery

!!!!!!!!!!!!!! WRITE C++ CODE !!!!!!!!!!!!!

PLEASE DON'T COPY OTHERS CODE

image text in transcribed

image text in transcribed

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 I. Winning The estimated prob. of winning

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions