Q&A ICSE2017-03A #7231
Question:
Write a Java expression for the following:
ax5 + bx3+c
Answer:
a * Math.pow(x, 5) + b * Math.pow(x, 3) + c
Write a Java expression for the following:
ax5 + bx3+c
a * Math.pow(x, 5) + b * Math.pow(x, 3) + c