shuffle(randFromArray( [["x", "y"], ["a", "b"], ["c", "d"]])) randRange( 1, 10 ) randRange( 1, 10 ) randRange(3, 10) randRange(3, 10) randRangeNonZero(-1, 1) * randRange(3, 10)
(A * A_COEFF) + (B * B_COEFF) + CONSTANT

Evaluate the following expression when `AN = A` and `BN = B`.

`A_COEFF` `AN``{} + B_COEFF` `BN``{} + CONSTANT`

SOLUTION

$(".var1").addClass("hint_pink"); $(".var2").addClass("hint_blue");

Substitute `A` for `\pink{AN}` and `B` for `\blue{BN}`.

`\qquad=\quadA_COEFF\pink{(A)} + B_COEFF\blue{(B)} + CONSTANT`

`\qquad=\quadA_COEFF * A + B_COEFF * B + CONSTANT`

`\qquad=\quadSOLUTION`

(A * A * A_COEFF) + (B * B_COEFF) + CONSTANT

`A_COEFF` `AN``{}^2 + B_COEFF` `BN``{} + CONSTANT`

$(".var1").addClass("hint_pink"); $(".var2").addClass("hint_blue");

Substitute `A` for `\pink{AN}` and `B` for `\blue{BN}`.

`\qquad=\quadA_COEFF\pink{(A)}^2 + B_COEFF\blue{(B)} + CONSTANT`

Remember order of operations. Evaluate the exponent before you multiply.

`\qquad=\quadA_COEFF(A * A) + B_COEFF\blue{(B)} + CONSTANT`

`\qquad=\quadA_COEFF * A * A + B_COEFF * B + CONSTANT`

`\qquad=\quadSOLUTION`