This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Q15 Q79 CHAPTER 1
Section 1.4, p. 40 Solutions to Odd Number Problems
1. a) Use randInt(1,25,100). If you need instructions on using your graphing
calculator, refer to Appendix B of the student text.
b) Use randInt(20,20,24).
3. Answers will vary. The following is an example.
Simulation: The bus is late 10% of the time. You want to simulate how often the bus
will be late for the next 30 days. Use randInt(1,10,300) to generate a list of 30
random numbers from 1 to 10. Let a 1 represent a late bus. Count the number of 1s
that turn up.
The advantages of this simulation: little time is needed, and the accuracy can be
improved easily if more random numbers are generated.
If you need instructions on using your graphing calculator, refer to Appendix B of
the student text.
5. a) Answers will vary. You can write numbers in the range of interest on pieces of
paper, place them in a hat, and draw them one at a time, replacing the number after
each draw, and mixing thoroughly.
b) Random integers between 0 and 9 could be generated by recording the last digit
of phone numbers. This assumes that the last digit of the phone numbers were
generated randomly.
Top 7. Answers will vary. The following simulation was performed using a spreadsheet.
a)
Simulation 1
Odd Number Tosses 1 = N,2 = S Even Number Tosses
1
2
2
3
2
4
5
1
6
7
1
8
9
1
10
......
91
1
92
93
2
94
95
2
96
97
2
98
99
1
100
number of heads (N)
27
number of heads (E)
number of tails (S)
23
number of tails (W)
final coordinates = (x,y)
x
0 1
1
1
2
1
2
2
2
1
1
25
25
y
4 Results of 10 simulations of 100 movements each: Simulation Number
1
2
3
4
5
6
7
8
9
10
After 10 simulations Final Coordinates
x
y
0
4
8
6
2
6
4
6
0
2
4
6
6
6
4
10
4
6
6
8
x
y
2
0 Hypothesis: After a large number of simulations of 100 movements, the end point of
the random walk should be close to the origin.
9. Answers will vary.
Top ...
View
Full
Document
This note was uploaded on 01/23/2012 for the course MATHS MDM01 taught by Professor Mr.m during the Spring '10 term at Seneca.
 Spring '10
 Mr.M

Click to edit the document details