Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Assignment 4 1 Numpy 1.1 Create a 2D numpy array given below using the builin numpy functions. XXXXXXXXXX XXXXXXXXXX 25 −3 −3 −3 −3 −3 −3 −3 −3 25 25 − XXXXXXXXXX −9 6 −3 25 25 −3 0 0 0 −9 0 6 −3 25...

1 answer below »
Assignment 4
1 Numpy
1.1
Create a 2D numpy array given below using the builin numpy functions.


















XXXXXXXXXX XXXXXXXXXX
25 −3 −3 −3 −3 −3 −3 −3 −3 25
25 − XXXXXXXXXX −9 6 −3 25
25 −3 0 0 0 −9 0 6 −3 25
25 −3 0 0 −9 0 0 6 −3 25
25 −3 0 − XXXXXXXXXX −3 25
25 −3 − XXXXXXXXXX −3 25
25 −3 −3 −3 −3 −3 −3 −3 −3 25
XXXXXXXXXX XXXXXXXXXX


















1.2
Perform matrix multiplication between the following matrices below using numpy
builtin functions. Print out the resultant matrix along with its shape.








16 5
5 3
−3 19
7 17












XXXXXXXXXX1
5 5 − XXXXXXXXXX




1.3
Write a NumPy program to create a 3x3x3 array filled with random integer values.
Replace the middle layer with all ones using the np.ones function
2 -Topic Name2.1
Create a random 5x5 numpy array composed on integers (range 0-100), and then
calculate its determinant. Sort this array using the np.sort() function.
1
2.2
Crete a 10x10 random integer numpy array (range 0-100).
• Using loops find the biggest entry in this numpy array
• Now use the builtin function to find the biggest entry
2.3
Write a program that finds the square and cube of all numbers from 0 to 100,
• First use loops to do this
• Now do the same thing using numpy arrays
Answered Same Day Sep 18, 2022

Solution

Sathishkumar answered on Sep 19 2022
58 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here