Answer:24 or 4
Step-by-step explanation:
2x2=4 4x6=24 24 or 4
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
Answer:
C. y = | x | – 13
Step-by-step explanation:
y = | x | – 13
Answer:
y = |x| -13
Step-by-step explanation:
recall for any function y = f(x), to translate the function vertically by any value "a", we simply have to add "a" to f(x).
If a is positive, then the graph is translated in the positive y-direction (i.e upwards), if a is negative, then the graph is translated in the negative y-direction (i.e downwards)
In our case , the graph is translated vertically by 13 units (i.e a = 13) and it is to be translated downwards (i.e negative)
hence we add a= -13 to the original function.
y = f(x) + (-13)
y = |x| + (-13)
y = |x| -13