Given the algebraic equation y = ax 3 + 7, which of the following, if any, are correct C++ statements for this equation?

a) y = a * x * x * x + 7;
b) y = a * x * x * ( x + 7 );
c) y = ( a * x ) * x * ( x + 7 );
d) y = (a * x) * x * x + 7;
e) y = a * ( x * x * x ) + 7;
f) y = a * x * ( x * x + 7 );

Parts (a), (d) and (e).

Computer Science & Information Technology

You might also like to view...

Hypervisor

What will be an ideal response?

Computer Science & Information Technology

Filter by Selection displays only records that match a criterion that you select

Indicate whether the statement is true or false

Computer Science & Information Technology