Random Numbers and Simple Games
Random numbers have many applications in science and computer programming, especially when there are significant uncertainties in a phenomenon of interest. The purpose of this chapter is to look at some practical problems involving random numbers and learn how to program with such numbers. We shall make several games and also look into how random numbers can be used in physics. You need to be familiar with the first four chapters in order to study the present chapter, but a few examples and exercises will require familiarity with the class concept from Chapter 7.
KeywordsInterest Rate Random Number Random Walk Stock Price Simple Game
Unable to display preview. Download preview PDF.