Answer:
x=0
x=6
x=-1
Step-by-step explanation:
x(x^2-5x-6)
x(x-6)(x+1)
x=0
x=6
x=-1
We have a "rectangular" double loop, meaning that both loops go to completion.
So there are 3*4=12 executions of t:=t+ij.
Assuming two operatiions per execution of the innermost loop, (i.e. ignoring the implied additions in increment of subscripts), we have 12*2=24 operations in all.
Here the number of operations (+ or *) is exactly known (=24).
Big-O estimates are used for cases with a varying scale of operations, governed by a variable (usually n) to indicate the sensitivity of the number of operations relative to a change in the size of n.
Here we do not have a scale, nor n is defined. The number of operations is constant and known at 24. So a variable is required to find the big-O estimate.
The first one is 24, and the second one is 12
By solving the quadratic equation using completing the square method we got that Penelope should have added 4 to both sides instead of adding 1.
<h3>What is quadratic equation ?</h3>
Any equation of the form
where x is variable and a, b, and c are any real numbers where a ≠ 0 is called quadratic equation .
Given work of Penelope is

Now we can see that Penelope determined the solutions of the quadratic function by completing the square. so he must have been done as following

By solving the quadratic equation using completing the square method we got that Penelope should have added 4 to both sides instead of adding 1.
To learn more about quadratic equations visit : brainly.com/question/1214333
F(g(7))= f(2×7+2)= f(16)= 4×16+21=85
Therefore: the answer is 85
Hope that helps!!