Answer:
Three Times.
Step-by-step explanation:
First and foremost a binary search requires that the array be sorted in ascending or descending order.
After the initial step the search goes to the middle most value
i.e.
will be the second 14, which is the first iteration.
Since 14 is less than 19 the search will eliminate the lower half of the including 14, and will iterate again through the array:
![[15,18,18,19,19]](https://tex.z-dn.net/?f=%5B15%2C18%2C18%2C19%2C19%5D)
The array will go to the middle most value which is 18, second iteration. Since 18 is less than 19, the program will eliminate the lower half and be left with two values i.e.
.
The search will run once i.e. third iteration, and will return key value found.
Given equations:
P=w+2
p=7w-16
Compare both equations
7w-16=w+2
Add 16 to both sides.
7w=w+18
Subtract w from both sides.
6w=18
Divide both sides by 6.
w=3, which is the age of Winnie.
Now Peter's age=3+2=5 years
Option A is the correct method to find the age of Peter and Winnie.
Hundred thousands
ten thousands
thousands
hundreds
tens
ones
Answer:
2.6
Step-by-step explanation:
by similar property
