Write the first ratio as 11/100 and set it equal to 22/n.
since 11 x 2=22 you can multiply 100 x 2 and you'll get 200.
*Check*: 11% of 200=22
Answer:
hi
Step-by-step explanation:
Answer:
10
Step-by-step explanation:
AB = CD = 10, so AB = 10
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)
An=a1+d (n-1)
a1= 7
find d
Let's use a2
a2=1
1=7+d (2-1)
1=7+d
-7 both sides
d=-6
explicit formula is
an=7+-6 (n-1)
a14=?
a14=7-6 (14-1)
a14=7-6×13
a14=7-78
a14=-71