Answer:
Step-by-step explanation:
What do you mean?
Graphed V hope his helped
Since the sequence is sorted, you can use the binary search, which is of O(lg2). You can google binary search, or inspire from the following.
Basically, the algorithm looks like the following:
checkMiddle(ai, a1,n)
if (n==0) return(-1) // key ai not found
k=(1+n)/2;
if (a_k = ai) return(k)
else
if (a_k>ai
checkMiddle(ai,a_1,k)
else
checkMiddle(ai,a_(k+1),n-k)
endif
You may have to tune and check, but the basic idea is there.
Also, concerning computing algorithms, you are better off with posting it under technology and computers.
Answer:
The answer is given below
Step-by-step explanation:
The equation of a quadratic function is given by:
Ax² + Bx + C where A, B and C are the coefficients of the quadratic equation. If the coefficient of x² (i.e A) is a negative value then the graph opens down, the value of C determines the y intercept.
The equation of a parabola with y-intercept greater than 3 and opens down can be given as -2x² -6x + 4. Since the coefficient of x² is negative it opens down and C = 4, it has a y intercept of 4 > 3
Let us assume a vertical stretch of 2, the new equation becomes:
2(-2x² -6x + 4)
-4x² - 12x + 8
To solve:
-4x² - 12x + 8 = 0
A = -4, B = -12 and C = 8
Using the quadratic formula:
To use De Moivre's theorem, we first write -2i is cis form: 0 - 2i has r = 2 and theta = 270.
Then we take the cube root, which means the new result will have r^(1/3), and the angle (theta/3). This means r = cbrt(2) and theta = 90.
This means that the answer is (cube root of 2)(cos90 + i*sin90), choice C.
I suspect the choices "3sqrt2" is actually a cube root of 2, not 3 multiplied by the square root of 2.