Question: answer within 20min Consider the array heights containing the elements (189, 170, 189, 163, 183, 171, 185, 168, 173, 183, 173, 173, 175, 178, 183,

answer within 20min
Consider the array "heights" containing the elements (189, 170, 189, 163, 183, 171, 185, 168, 173, 183, 173, 173, 175, 178, 183, 193, 178, 173, 174, 183, 183, 168, 170, 178, 182, 180, 183, 178, 182, 188, 175, 179, 183, 193, 182, 183, 177, 185, 188, 188, 182, 185] representing the heights of students in cm. Use the built-in functions of NumPy to answer the following questions (a) Write a command to find the total number of elements in the array heights (2M) (b) Write a command to find the range of the array heights (2M) (c) Write a command to find the variance of the array heights (2M) (d) Write a command to find the 50th percentile of the array heights (2M) (e) Write a command to find the product of all the elements of the array heights (2M)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
