Answer:
f(N) = 2+ N/2 + 6N² units of time.
Step-by-step explanation:
Assigning 0 to the variable sum takes one unit of time.
Each time you increment sum by B, you need to call the value of sum, sum it to B and assign it to sum, which takes three units of time in total. You are repeating this process for each value of B which ranges from 1 to 4n and for each value of A which ranges from 1 to n/2. Opening the FOR takes also another unit of time, so, as a result, we have
f(N) 1 + 1 (open the FOR in A)+ N/2*(1 (open the FOR in B) + 4N*3) = 2+ N/2 + 6N² units of time. It has order complexity O(N²).
Answer:
D.
Set the compass to a convenient width, and draw an arc that is centered at the vertex of the original angle and intersects both legs of the original angle.
Given:
In the given circle O, BC is diameter, OA is radius, DC is a chord parallel to chord BA and .
To find:
The .
Solution:
If a transversal line intersect two parallel lines, then the alternate interior angles are congruent.
We have, DC is parallel to BA and BC is the transversal line.
[Alternate interior angles]
In triangle AOB, OA and OB are radii of the circle O. It means OA=OB and triangle AOB is an isosceles triangle.
We know that base angles of an isosceles triangle are congruent.
[Base angles of an isosceles triangle]
In triangle AOB,
Therefore, the measure of angle AOB is 120 degrees.
Answer:
number c
Step-by-step explanation:
4 x 5 = 20
4x 8 = 32
5 x 5 = 32
5 x 8 = 40
Hope this helps ;)
Answer:
The amount of apples is the Xs and The cost is the Ys
Step-by-step explanation: