Question: answer within 20 min Answer the following questions using NumPy built-in functions (a) Create a 3x5 array having all elements 3.14 (2M) (b) Create a

 answer within 20 min Answer the following questions using NumPy built-in

answer within 20 min

Answer the following questions using NumPy built-in functions (a) Create a 3x5 array having all elements 3.14 (2M) (b) Create a diagonal matrix having elements (3,2,4,5) (2M) (c) Create a 3-dimensional array with the elements [1,2,3,4,5,6,7,8] (2M) (d) What is the output of the command: np.arange(1,10,3.0) (2M) (e) What is the output of the command: np.linspace(1,6,5) (2M)

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!