Question: Write a c + + program to compute the evaluation of a user - defined cubic polynomial at x = 2 . Recall that a
Write a cprogram to compute the evaluation of a userdefined cubic polynomial at
x Recall that a cubic polynomial is any function f of the form
f x ax bx cx d
where a b c and d are real numbers, which the user will specify. The evaluation of f
at x is therefore given by
f a b c d
You should first ask the user to specify a polynomial by writing a string in the following
format:
fxnumberxnumberxnumberxnumber
For example, fxxxx is a valid input. Your output should
seek to emulate and mimic the following example. Here, the entire third line is the
user input
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
