Question: Consider the function f(x) = 2x^3 + x^2 - 3x - 5 Write a C++ program that inputs an integer value for (x) (Assume I
Consider the function f(x) = 2x^3 + x^2 - 3x - 5 Write a C++ program that inputs an integer value for (x) (Assume I will input a valid integer value, you do not need to check for input errors). The program will output the value of the function for the given value of x. Example Let f(x) - 2x^3 + x^2 - 3x - 5 Enter a value for x: 2 f(2) = 9 When you are done with the C++ program copy and paste the code into a Word document. Save the file as LastName.FirstName.HW1.docx Post it on Blackboard Grading Correctness - 50% Efficiency - 30% Code style and appearance - 20%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
