Simulation Assignment

 

 

 

  1. Jimmy prints a neighbourhood newspaper. He has 10 subscribers. He also sells it to whoever comes by, from his front lawn on Friday afternoons. His mother has kept track of his demand (including requests made after he had sold out) for the past 100 weeks, and observed the pattern shown below.

Papers Demanded

Number of weeks

13

1

14

2

15

4

16

9

17

10

18

15

19

16

20

15

21

12

22

9

23

4

24

2

25

1

26

0

Total

100

The papers cost 30 cents to print and Jimmy sells them for 50 cents. Assume that he prints 20 copies a week. Mom makes him throw away unsold copies. Simulate his sales for a year and determine his earnings. Keep track of papers thrown away and customers that went away without a paper.