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
Hi there!
First, let's find the slope of the two points using the slope formula (y2 - y1 / x2 - x1).
S = 4 - 2 / 3 - 5
S = 2 / -2
S = -1
Next, we'll plug in the slope and a point into point-slope form (y - y1 = s(x - x1)) in order to find an equation. I will show the work using both points, which will result in two different equations.
(2,5)
y - 5 = -1(x - 2)
y - 5 = -x + 2
y = -x + 7
(4,3)
y - 3 = -1(x - 4)
y - 3 = -x + 4
y = -x + 7
The two equations came out the same! Which is completely okay, and happens sometimes.
Hope this helps!! :)
If there's anything else that you're needing help with, don't be afraid to reach out!
Solve by elimination.
The goal is to cancel out one of the variables in order to easily solve for the other variable.
Do this by changing the equations so that the coefficients of either x or y add up to 0.
Notice the coefficients of y are 3 and 3, if we make one of them negative then they add up to 0. 3+ (-3) = 0
Multiply 2nd equation by -1.
6x +3y = 9
-2x -3y = -1
__________
4x +0y = 8
Solve for x
4x = 8
x = 8/4 = 2
Plug x=2 back into one of original equations to find y.
---> 2(2) + 3y = 1
---> 4 + 3y = 1
---> 3y = -3
---> y = -1
Therefore solution is (2,-1)
Answer:
The answer is "Option A and Option B"
Step-by-step explanation:
In question 1:
The fixed cost=2621.21
The unit variable cost=35.58
Calculating the total cost for 45 boat slips:

In question 2:
It is the pure fixed costs that remain consistent in total regardless of dynamic loads. An overall cost B both for 1000 and 2000 unit is unchanged, therefore the Cost B is a fixed sum.