Question: on python in jupyter 2). Create an array containing 100 evenly spaced numbers between 40 and 60. Name the array mten. 3). Calculate two times
on python in jupyter
2). Create an array containing 100 evenly spaced numbers between 40 and 60. Name the array mten.
3). Calculate two times the natural log of mten and store the result in an array named lnm.
4). Create a 4x4 two dimensional array named arr2d. The first row should contain 5,6,7,8. The second row should contain 1,2,3,4. The third row should contain 4.2, 7.8, 9.3, and -0.3. The fourth row should contain /2, , 3/2, and 2.
5). Create an array named arr2d_sum that is the sum of the columns of arr2d. Use slicing to make your life easier.
6). Plot the second column vs the third column. (These columns start with 6 and 7, respectively)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
