1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Pani-rosa [81]
2 years ago
9

Find the first two random numbers (to the fifth digit after the decimal point) using linear congruential generator with a=4, m=1

1 and b=0 and 23 as the seed
Mathematics
1 answer:
yulyashka [42]2 years ago
7 0

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

You might be interested in
A. Do some research and find a city that has experienced population growth.
horrorfan [7]
A. The city we will use is Orlando, Florida, and we are going to examine its population growth from 2000 to 2010. According to the census the population of Orlando was 192,157 in 2000 and 238,300 in 2010. To examine this population growth period, we will use the standard population growth equation N_{t} =N _{0}e^{rt}
where:
N(t) is the population after t years
N_{0} is the initial population 
t is the time in years 
r is the growth rate in decimal form 
e is the Euler's constant 
We now for our investigation that N(t)=238300, N_{0} =192157, and t=10; lets replace those values in our equation to find r:
238300=192157e^{10r}
e^{10r} = \frac{238300}{192157}
ln(e^{10r} )=ln( \frac{238300}{192157} )
r= \frac{ln( \frac{238300}{192157}) }{10}
r=0.022
Now lets multiply r by 100% to obtain our growth rate as a percentage:
(0.022)(100)=2.2%
We just show that Orlando's population has been growing at a rate of 2.2% from 2000 to 2010. Its population increased from 192,157 to 238,300 in ten years.

B. Here we will examine the population decline of Detroit, Michigan over a period of ten years: 2000 to 2010.
Population in 2000: 951,307
Population in 2010: 713,777
We know from our investigation that N(t)=713777, N_{0} =951307, and t=10. Just like before, lets replace those values into our equation to find r:
713777=951307e^{10r}
e^{10r} = \frac{713777}{951307}
ln(e^{10r} )=ln( \frac{713777}{951307} )
r= \frac{ln( \frac{713777}{951307}) }{10}
r=-0.029
(-0.029)(100)= -2.9%.
We just show that Detroit's population has been declining at a rate of 2.2% from 2000 to 2010. Its population increased from 192,157 to 238,300 in ten years.

C. Final equation from point A: N(t)=192157e^{0.022t}.
Final equation from point B: N(t)=951307e^{-0.029t}
Similarities: Both have an initial population and use the same Euler's constant.
Differences: In the equation from point A the exponent is positive, which means that the function is growing; whereas, in equation from point B the exponent is negative, which means that the functions is decaying.

D. To find the year in which the population of Orlando will exceed the population of Detroit, we are going equate both equations N(t)=192157e^{0.022t} and N(t)=951307e^{-0.029t} and solve for t:
192157e^{0.022t} =951307e^{-0.029t}
\frac{192157e^{0.022t} }{951307e^{-0.029t} } =1
e^{0.051t} = \frac{951307}{192157}
ln(e^{0.051t})=ln( \frac{951307}{192157})
t= \frac{ln( \frac{951307}{192157}) }{0.051}
t=31.36
We can conclude that if Orlando's population keeps growing at the same rate and Detroit's keeps declining at the same rate, after 31.36 years in May of 2031 Orlando's population will surpass Detroit's population.

E. Since we know that the population of Detroit as 2000 is 951307, twice that population will be 2(951307)=1902614. Now we can rewrite our equation as: N(t)=1902614e^{-0.029t}. The last thing we need to do is equate our Orlando's population growth equation with this new one and solve for t:
192157e^{0.022t} =1902614e^{-0.029t}
\frac{192157e^{0.022t} }{1902614e^{-0.029t} } =1
e^{0.051t} = \frac{1902614}{192157}
ln(e^{0.051t} )=ln( \frac{1902614}{192157} )
t= \frac{ln( \frac{1902614}{192157}) }{0.051}
t=44.95
We can conclude that after 45 years in 2045 the population of Orlando will exceed twice the population of Detroit. 

  
8 0
4 years ago
43.5 centimeters by 934 millimeters. Hello many centimeters are wood framing will she need
IRINA_888 [86]
273.8cm of wood framing

934mm=93.4cm

2(43.5+93.4)=y
2(136.9)=y
273.8=y
4 0
3 years ago
Someone do this plz ill pay u when im rich
lbvjy [14]

Answer:

11307.19 rounded and exact is 11307.1875

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
What is the simplified polynomial and the value
Elanso [62]

The simplified polynomial is; xy(x²y - xy² +1) and; the value when x=-3 and y=2 is; -186

From the polynomial given;

  • x²yxy -xy²xy +xy.

The polynomial can be factorised to yield a simpler form as follows;

  • xy(x²y - xy² +1).

This is so because, xy is a common factor.

The value is therefore;

  • (-3×2)((-3)²2 - (-3×2²) +1)

  • -6(18+12+1)

= -186

Read more on polynomials;

brainly.com/question/2833285

7 0
3 years ago
What is the area of the drawing of the trophy shown?​
marishachu [46]

Answer:

The area of the drawing is 12 Squares

8 0
3 years ago
Other questions:
  • A local bagel shop produces two products: bagels (B) and croissants (C). Each bagel requires 6 ounces of flour, 1 gram of yeast,
    12·1 answer
  • (2.5 x 10^-8) (9 x 10^-10) Express your answer in scientific notation.
    5·2 answers
  • Which figure shows a reflection of pre-image QRS over the line t?<br> (Picture has answers.)
    13·2 answers
  • I WILL GIVE CROWN WHO ANSWERS CORRECTLY
    14·1 answer
  • Han is solving an equation. He took steps that are acceptable but ended up with equations that are clearly not true.
    5·1 answer
  • Quizizz help 10 pts each brainiest guaranteed WITHH A PIC
    12·1 answer
  • X+1/5-3(x-1)/10=2 what is x​
    12·1 answer
  • Evaluate the expression when x = 12 and y = 2.
    15·1 answer
  • In a survey of a community, it was found that 85% of the people like winter season and 65% like summer season. If none of them d
    14·1 answer
  • A grocer sold 25 fewer kilograms of fruit on the first day of operation than he did on the second day. On the third day, the gro
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!