Answer:
and ![[6,9,8,7]](https://tex.z-dn.net/?f=%5B6%2C9%2C8%2C7%5D)
Step-by-step explanation:
GIVEN: an array of ten integers
.
TO FIND: If we partition this array using Quick sort's partition function and using
for the pivot. List the elements of the resulting array after the partition finishes.
SOLUTION:
quick sort is a divide and conquer algorithm in which an array is partitioned into sub-arrays about an pivot element by checking whether elements are greater than pivot or and then sub arrays are sorted recursively.
Here
is the pivot element.
two arrays will be created, in first array element less than or equal to pivot element are stored in other elements greater than pivot element are stored.
Starting from first element of array
elements in first array will be ![=[4,0,3,1,2,5]](https://tex.z-dn.net/?f=%3D%5B4%2C0%2C3%2C1%2C2%2C5%5D)
elements in second array will be ![=[6,9,8,7]](https://tex.z-dn.net/?f=%3D%5B6%2C9%2C8%2C7%5D)
Hence the resulting array after the partition finishes are
and ![[6,9,8,7]](https://tex.z-dn.net/?f=%5B6%2C9%2C8%2C7%5D)
Answer:
122 degrees, because x and z are alternate interior angles
122 degrees, because 58 degrees and z are same side interiors which add to 180
Step-by-step explanation:
1) we know that
m∠x=m∠z -----> by alternate interior angles
m∠x+58°=180° ----> by supplementary angles (form a linear pair)
m∠x=180°-58°=22°
therefore
m∠z=22°
2) m∠z+58°=180° ----> by same side interior angles
solve for z
m∠z=180°-58°=122°
therefore
122 degrees, because x and z are alternate interior angles
122 degrees, because 58 degrees and z are same side interiors which add to 180
It’s the second one(40 pages/ 1 hour)
Answer:
67.73625
Step-by-step explanation:
The dot (scalar) product is also the sum of products of corresponding vector components.
~a • ~b = 9·2.97 +6.75·6.075 +0·0 = 27.73 +41.00625 = 67.73625
3GB’s you just add 21 to 3 and keep adding 3 until you reach 30
21+3=24 24+3=27 27+3=30