The math department has asked us to write a program that will allow the user to enter in information about a polynomial function. Then the program needs to allow the user to enter any value in for x and output the result.

When the user is prompted for the coefficients of the individual terms the variable part of the term must be represented i.e.

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

#include <iostream.h>
#include <conio.h>
#include <process.h>

const int Mdegree = 15;    //max degree of poly

void main()
   float x, value;
   float coef[Mdegree+1]; // coefficients
   float pow_x[Mdegree+1];      // powers of x^
   int degree, i;

   cout << "\nCompute value of polynomial function";
   cout << "\nDegree ";...

By purchasing this solution you'll be able to access the following files:

for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available C-Family Programming Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats