Answer:
39
Step-by-step explanation:
Answer: 11
The code would print 11 as x=x-4 basically sets x to what x was and subtracts it by 4 which means 15 was its previous value and it takes 4 away from it so it is now 11. Then because the loop condition is x=11 the loop condition has been met and will now go and display x.
Answer:
left 1 unit, up 5 units
Step-by-step explanation:
First factor
g(x)=x^2+2x+6 = (x+1)^2+5
The standard transformation formula is
g(x) = a*f(bx-h) + k
which means
a=1, b=1,h=-1, k=5
or
h=-1 means translate left one unit
k=5 means translate up 5 units.
Choose the first option: left 1 unit, up 5 units