This question uses your FAU Z-number (should be 8-digits). Please follow the instructions below to generate the question. Denote your Z-number by z. . If your Z-number starts with 0, truncate the...


This question uses your FAU Z-number (should be 8-digits). Please follow the instructions below to generate the question. Denote your Z-number by z. . If your Z-number starts with 0, truncate the leading consecutive zeros, e.g. 20202. 00020202 becomes 20202, Then ·If your Z-number does not start with 0, keep all of it. Eg. z = 22222222. In either case, you have a number z now (note this number will be unique for each of the student). This number will be used later to generate a function. First, load the random module in your code (e.g. put the following line on top of your program), import random Initialize the random seed using your z and then generate a random number. ### Assonet z = 22222222 (your number z will be different) random. Seed (22222222) # Use led aid Leo in the following line. Do not change them. t = random.raldint (1e4. 1o5) # here a random integer t=45680 is generated Second, defined a function using the above generated t as 242/3 f (a) t2/a + t. Note in Python you use the floating-point number for the t2/3. This finishes the preparation for the question.




May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here