5. write c++ expressions for the following algebraic expressions:\na = 12x\nz = 5x + 14y + 6k\ny = x^4\ng =…

5. write c++ expressions for the following algebraic expressions:\na = 12x\nz = 5x + 14y + 6k\ny = x^4\ng = \\frac{h + 12}{4k}\nc = \\frac{a^3}{b^2k^4}

5. write c++ expressions for the following algebraic expressions:\na = 12x\nz = 5x + 14y + 6k\ny = x^4\ng = \\frac{h + 12}{4k}\nc = \\frac{a^3}{b^2k^4}

Answer

Explanation:

Step1: Translate first expression

a = 12 * x;

Step2: Translate second expression

z = 5 * x + 14 * y + 6 * k;

Step3: Translate third expression

y = pow(x, 4); (assuming <cmath> library is included for pow function)

Step4: Translate fourth expression

g = (h + 12) / (4 * k);

Step5: Translate fifth expression

c = pow(a, 3) / (pow(b, 2) * pow(k, 4)); (assuming <cmath> library is included for pow function)

Answer:

a = 12 * x;
z = 5 * x + 14 * y + 6 * k;
y = pow(x, 4);
g = (h + 12) / (4 * k);
c = pow(a, 3) / (pow(b, 2) * pow(k, 4));