Answer:

Step-by-step explanation:
We are basically trying to find the hypotenuse of the triangle.
The distance between the x is 2, and the distance between the y is 5, which makes a length and a width.
Pythagrenum theorem: a^2+b^2=c^2
2^2 is 4, 5^2 is 25.
4+25 is 29.
The distance is
.
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:
<A=42°
Step-by-step explanation:
If the exterior of angle C is 126, the interior is 54.
The sum of the other two angles must be 126. (Exterior Angle Theorem)
If B is twice A, we divide 126 into thirds. This is 42.
So A is 42, B is 84, and C is 54.
Answer:
a. 145 liter bottles (There were 2 bottles remaining)
Step-by-step explanation:
From this question, the total number of bottles that Zach had to fill with apple cider is 581.
He has to distribute these bottles to 4 stores after filling
The question says each store received same number of bottles.
To get the number of bottles received by each store, we divide 581 by 4
= 581 / 4
= 145.25
Therefore each store gets 145 bottles each and there would be a remainder of 2 bottles