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:
n = 1.2
Step-by-step explanation:
3n = 3.6
Divide both sides by 3 to get n by itself.
3.6/3 = 1.2
n = 1.2
Answer:
Step-by-step explanation:
To find the inverse of a function you take it in y=f(x) form, switch x and y and then solve for the new y.
So I'll do the first one.
f(x) = 8x-10
y=8x-10 Now switch x and y
x = 8y-10 Now solve for y.
x+10=8y
(x+10)/8 = y
g(x) is not that, so it is not the inverse. Can you figure out the second one?
Answer:
Domain= how many boxes there are from each circle to the other, and the range is basically the height. In this case, Domain= 8, Range=2