Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Open your file from part 1: quiz1_yourlastname_yourstudentid.ipynb Q3: In the following cell, write codes to do the following: Configure a Linear congruential generator with the
Open your file from part 1: "quiz1_yourlastname_yourstudentid.ipynb"
Q3: In the following cell, write codes to do the following:
Configure a Linear congruential generator with the following parameters =2=2, =4=4, =10=10, and setting 00 to be the last three digits of your student id. For example, if your id is "53829", then the last three digit is "829". If the last three digits are "000", set 00 to be 1.
Generate 10 integers between 0 and 9.
Print the generated numbers using print() function.
run the cell and save your file.
use python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started