Question: Write java program to evaluate the following polynomial function : f(x) = 2x3 + 3x2 5x + 8 Prompt user to enter a floating-point number

Write java program to evaluate the following polynomial function : f(x) = 2x3 + 3x2 5x + 8 Prompt user to enter a floating-point number and store it in variable x, evaluate function and display message: function f([x-value]) = [result-value] [x-value] and [result-value] should be replaced by real numbers. For example, if input x is 1, display message function f(1.0) = 8.0.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!