Application to mobile computer networks. Computer scientists often model the movement of a mobile computer as a random path within a rectangle. That is, two points are chosen at random within the rectangle, and the computer moves on a straight line from the first point to the second. In the study of mobile computer networks, it is important to know the mean length of a path. It is very difficult to compute this mean directly, but it is easy to estimate it with a simulation. If the endpoints of a path are denoted
, then the length of the path is
. The mean length is estimated by generating endpoints
src="https://sciemce.com/media/4/4bd592e55d9472ab7a.jpg" class="w-image" /> , for many paths, computing the length of each, and taking the mean. This exercise presents a simulation experiment that is designed to estimate the mean distance between two points randomly chosen within a square of side 1.
a. Generate 1000 sets of endpoints . Use the uniform distribution with minimum value 0 and maximum value 1 for each coordinate of each point. The uniform distribution generates values that are equally likely to come from any part of the interval (0, 1).
b. Compute the 1000 path lengths .
c. Compute the sample mean path length . The true mean, to six significant digits, is 0.521405. How close did you come?
d. Estimate the probability that a path is more than 1 unit long.
(a–c) Answers will vary.
(d) ? 0.025
You might also like to view...
The hexadecimal equivalent of a binary 10100101 is ________
A) A416 B) C316 C) B516 D) A516
ASE-Style Multiple Choice ____ results when parts are pushed to the center by a side or angled impact.
A. Height damages B. Width damage C. Sag damage D. Length damage
Technician A says that most current highway diesel engines use the engine ECM to master control of engine braking cycles. Technician B says that some current trucks option engine braking as part of cruise control and directional stability management. Who is correct?
A. Technician A only B. Technician B only C. Both A and B D. Neither A nor B
What are the objectives of effective supply chain management?
What will be an ideal response?