Question: Please help me write this program! We can write this code in either Python 3, C++, or in Java but I feel that it will
Please help me write this program!
We can write this code in either Python 3, C++, or in Java but I feel that it will be easier and shorter in Python 3. Please help me write this code and also help me answer the questions. Also, please try to make the result of the code have two graphs as shown in the examples below. Thank You! Please provide screenshots of your code for the formatting.



Assume you live in London in 1940. As the German Luftwaffe continue their nightly bombings of the city, you become worried a bomb might land on your house while you sleep. To put your mind at rest you decide to figure out the probability of a bomb landing on your house. You take a sample space of 10 blocks by 10 blocks containing your house and receive intelligence that roughly 200 bombs are being dropped nightly in this area. Should you flee the city or take your chances staying home? (a) Create a 10-by-10 grid and specify which block your house is. (b) Simulate 200 bombs dropping in the 10-by-10 grid and run this simulation 4 times, recording the results for each. This simulates four nights of bombings. How many bombs landed in your block? How many bombs landed in each block? How many bombs can any one block expect to receive in a night? (c) Using a Poisson distribution, what is the predicted probability of a bomb hitting your house? What is the expected number of bombs to land in your block? Do these results match any or all of your simulations? ylts match any or all of your sin Submit: your code, graphs or data, and a short text file answering (c). Here are sample graphs of my experiment (red square represents my house)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
