Question: Please answer using Python and Numpy 1-1 First, loadiimport the numpy package and use the name np short for it In [1]: inport numpy as

 Please answer using Python and Numpy 1-1 First, loadiimport the numpy

Please answer using Python and Numpy

1-1 First, loadiimport the numpy package and use the name np short for it In [1]: inport numpy as np 1-2. Create a vector 21 of s of size 10, but mutateichange the fifth value to 2 . print the vector In [2]: ; provide your answer here print(z2) [0. 0. 0. 0. 2. . 0. 0. 0. 0.] 1-3. A vector Z2 is provided below. Reverse it (first element becomes lest) to become a new vector Z_reverse In [3]: z2= np.arange(50) * provide your answer here print(Z_reverse ) 2524232221261918171615141312111698755432 1 b] 1-4 Create a 10x10 array 23 with random values (use the randon function). Then find the minimum and maximum values (use the, min and, max function) In [4]=nprandomsend(9) \# Creote a 1616 arroy ' Z5 * provide your answer here \# find the winimum and maximum values * provide your answer here print(z3min, Z3max) .816374153835699955.9833592482243325 1-5. Find common values between two provided arrays below. Hint: may consider using intersect1d function In [5]= In [6]: \# provide your answer here [0127]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!