NumPyA6credit.ipynb✩ File Edit View Insert Runtime Tools Help All changes saved + Code + Text OB ▾ Q10: Create a two by one array of random numbers. Horizontally stack this array on q8. Assign it to Q10. [38] Start coding or generate with AI. × Q11: Create an array of twenty random numbers called q11. At the fifth value, split this array into two. That is, the sixth value should begin the new array. Assign the first part to Q11a and the second part to Q11b. [38] Start coding or generate with AI. ▾ Q12: Split q11 into three parts at the tenth and fifteenth values (that is, the eleventh and sixteenth values should begin the new arrays). Assign the first part to Q12a, the second part to Q12b, and the third part to Q12c. Start coding or generate with AI. Da Q13: + Code + Text Create a five by five array of random numbers called q13. At the third array, vertically split this array into two (that is, the fourth array should begin the new array). Assign the first part to Q13a and the second part to Q13b. Os completed at 12:29 PM A + Code + Text E Create a four by four array of random numbers and call it q7. Concatenate this array with itself and assign it to Q7. Q7 = np.random.rand (4, 4) ► 07 Q7 AMHEN np.concatenate((Q7, 07)) print (07) I [[0.97650013 0.16669413 0.02317814 0.16074455] [0.92349683 0.95354985 0.21097842 0.36052525] [0.54937526 0.27183085 0.46060162 0.69616156] [0.5003559 0.71607099 0.52595594 0.00139902] [0.97650013 0.16669413 0.02317814 0.16074455] [0.92349683 0.95354985 0.21097842 0.36052525] [0.54937526 0.27183085 0.46060162 0.69616156] [0.5003559 0.71607099 0.52595594 0.00139902]] ✓ Q8: Create a two by four array of random numbers and call it q8. Vertically stack this array on q7. Assign it to Q8. [38] Start coding or generate with AI. ▾ Q9: Vertically stack the following arrays in sequence: q7, q7, q7, q8 and q8. Assign it to Q9. [17] Start coding or generate with AI. Os completed at 12:28 PM

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

need help on Q8 Q9 Q10 Q11 Q12 Q13 please..

NumPyA6credit.ipynb✩
File Edit View Insert Runtime Tools Help All changes saved
+ Code + Text
OB
▾ Q10:
Create a two by one array of random numbers. Horizontally stack this array on q8. Assign it to Q10.
[38] Start coding or generate with AI.
× Q11:
Create an array of twenty random numbers called q11. At the fifth value, split this array into two. That is, the sixth value should begin the new
array. Assign the first part to Q11a and the second part to Q11b.
[38] Start coding or generate with AI.
▾ Q12:
Split q11 into three parts at the tenth and fifteenth values (that is, the eleventh and sixteenth values should begin the new arrays). Assign the
first part to Q12a, the second part to Q12b, and the third part to Q12c.
Start coding or generate with AI.
Da
Q13:
+ Code
+ Text
Create a five by five array of random numbers called q13. At the third array, vertically split this array into two (that is, the fourth array should
begin the new array). Assign the first part to Q13a and the second part to Q13b.
Os
completed at 12:29 PM
A
Transcribed Image Text:NumPyA6credit.ipynb✩ File Edit View Insert Runtime Tools Help All changes saved + Code + Text OB ▾ Q10: Create a two by one array of random numbers. Horizontally stack this array on q8. Assign it to Q10. [38] Start coding or generate with AI. × Q11: Create an array of twenty random numbers called q11. At the fifth value, split this array into two. That is, the sixth value should begin the new array. Assign the first part to Q11a and the second part to Q11b. [38] Start coding or generate with AI. ▾ Q12: Split q11 into three parts at the tenth and fifteenth values (that is, the eleventh and sixteenth values should begin the new arrays). Assign the first part to Q12a, the second part to Q12b, and the third part to Q12c. Start coding or generate with AI. Da Q13: + Code + Text Create a five by five array of random numbers called q13. At the third array, vertically split this array into two (that is, the fourth array should begin the new array). Assign the first part to Q13a and the second part to Q13b. Os completed at 12:29 PM A
+ Code + Text
E
Create a four by four array of random numbers and call it q7. Concatenate this array with itself and assign it to Q7.
Q7 = np.random.rand (4, 4)
► 07
Q7
AMHEN
np.concatenate((Q7, 07))
print (07)
I
[[0.97650013 0.16669413 0.02317814 0.16074455]
[0.92349683 0.95354985 0.21097842 0.36052525]
[0.54937526 0.27183085 0.46060162 0.69616156]
[0.5003559 0.71607099 0.52595594 0.00139902]
[0.97650013 0.16669413 0.02317814 0.16074455]
[0.92349683 0.95354985 0.21097842 0.36052525]
[0.54937526 0.27183085 0.46060162 0.69616156]
[0.5003559 0.71607099 0.52595594 0.00139902]]
✓ Q8:
Create a two by four array of random numbers and call it q8. Vertically stack this array on q7. Assign it to Q8.
[38] Start coding or generate with AI.
▾ Q9:
Vertically stack the following arrays in sequence: q7, q7, q7, q8 and q8. Assign it to Q9.
[17] Start coding or generate with AI.
Os completed at 12:28 PM
Transcribed Image Text:+ Code + Text E Create a four by four array of random numbers and call it q7. Concatenate this array with itself and assign it to Q7. Q7 = np.random.rand (4, 4) ► 07 Q7 AMHEN np.concatenate((Q7, 07)) print (07) I [[0.97650013 0.16669413 0.02317814 0.16074455] [0.92349683 0.95354985 0.21097842 0.36052525] [0.54937526 0.27183085 0.46060162 0.69616156] [0.5003559 0.71607099 0.52595594 0.00139902] [0.97650013 0.16669413 0.02317814 0.16074455] [0.92349683 0.95354985 0.21097842 0.36052525] [0.54937526 0.27183085 0.46060162 0.69616156] [0.5003559 0.71607099 0.52595594 0.00139902]] ✓ Q8: Create a two by four array of random numbers and call it q8. Vertically stack this array on q7. Assign it to Q8. [38] Start coding or generate with AI. ▾ Q9: Vertically stack the following arrays in sequence: q7, q7, q7, q8 and q8. Assign it to Q9. [17] Start coding or generate with AI. Os completed at 12:28 PM
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education