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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started