Question: this is using python 6) Create a 10 array of numbers between 4 and 14 (both inclusive) and give it a new variable name. Print
6) Create a 10 array of numbers between 4 and 14 (both inclusive) and give it a new variable name. Print the array to the output and following that, use each element in the array to compute the following equation - 12(X) - co where x in the above equation corresponds to each element in the 10 array that you define. Give a new variable name to the implementation of the above function and print the resultant array that you obtain out of the above equation to the output. Hint: For creating the 10 array, use arange() function and then apply the equation given above to the array elements
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
