Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Task 1 (Python... Numpy) Create a Numpy array of 3*3 dimension with values ranging from 9 to 17. Hint: Use the arange() and reshape() functions

Task 1 (Python... Numpy)

Create a Numpy array of 3*3 dimension with values ranging from 9 to 17.

Hint: Use the arange() and reshape() functions available in Numpy.

Task 2

Create a Numpy array holding values that are multiples of 5 starting from 5 to 100. Print this array in reverse order using a single statement.

Task 3

Create an array of the height of students given below. Using aggregate functions, calculate the minimum height, maximum height, average height and standard deviation. Print the output up to a maximum of two decimal places.

Students height: 5.8, 5.6, 6.1, 5.9, 5.5, 5.7, 5.6, 5.9, 6.2.

Task 4

The overall years of experience of 12 directors are given below:

22, 21, 18, 23, 19, 20, 22, 21, 20, 19, 23, 22

Their years of experience in previous companies are given below in respective order:

16, 12, 15, 20, 10, 15, 20, 17, 18, 12, 14, 10

i) Create an array that holds only the experience of directors in their current company.

ii) Find the minimum, maximum and average years of experience of the directors in their current company.

iii) Create an array that contains years of experience of directors that are greater than 5 years. How many directors have more than 5 years of experience?

Task 5

Create two arrays of dimension 3*3 (3*3 matrix) using the two lists of numbers given below:

3,3,3,2,2,2,1,1,1

1,1,1,2,2,2,3,3,3

Find the product of the two matrices

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students explore these related Databases questions