the first two random numbers are 4,5.using linear congruential generator with a=4, m=11 and b=0 and 23 as the seed
linear congruential generator
Xn= an-+b Lm
0d s = 25 , b=6, YM 11, 024
Q O o m) 4, Lu) = 4x2%U)
m= 4x4j = 5 y-5
the numbers are 4, 5.
4.O0000 5.000TO
A linear congruence generator is an algorithm that returns a sequence of pseudorandom numbers computed using discontinuous piecewise linear equations. This method is one of the oldest and best-known pseudorandom number generator algorithms.
The linear congruential generator (LCG) is a pseudorandom number generator (PRNG ) is a class of algorithms. Random number generation plays an important role in many applications, from cryptography to Monte Carlo methods.
Learn more about linear congruential here: brainly.com/question/3168048
#SPJ4
<h3>
Answer: 18</h3>
==========================================================
Explanation:
2 cm on paper (or on screen) represents 3 meters in real life.
The backyard is 2 cm horizontally across on the screen, so it's 3 meters across in real life. This is the shorter dimension.
The longer dimension is 6 meters. We can think of it like this
2 cm : 3 meters
2*2 cm : 2*3 meters .... multiply both sides by 2
4 cm : 6 meters
The real backyard is 6 meters by 3 meters to give an area of 6*3 = 18 square meters.