Evaluate A Polynomial C Program

C Program To Evaluate A Polynomial

Learn How To Write a Code To Evaluate A Polynomial in C Programming Language. For Evaluation of a Polynomial, we first fetch the value of Co – Efficient and store them in the Array. This program is intimidating but is actually very simple if you try a little harder to understand it.

What is Polynomial?

A Polynomial is an expression or a mathematical equation which contains variables and constants (also known as Co – Efficients). The different terms in the expression includes the operations of Addition, Non – Negative Integer Exponent, Subtraction and Multiplication. A polynomial is nothing but an algebraic expression. It is also famously known as arithmetic expression.

Must Read: C Program To Evaluate a Postfix Expression

Method 1: C Program To Evaluate a Polynomial using Function

Method 2: C Program To Evaluate a Polynomial without Function

Method 3: C Program To Evaluate a Polynomial using Horner’s Method


C Program To Evaluate A Polynomial with and without Function and Horner's Method

If you have any compilation error or doubts in this C Program For Evaluation of Polynomial, let us know about it in the Comment Section below.

Tushar Soni

I am Tushar Soni, Co - Founder of CodingAlpha. I am a computer science student from India and passionate about Web Development and Programming. Connect with me on Facebook | LinkedIn | Google Plus

5 thoughts on “Evaluate A Polynomial C Program

  • July 29, 2016 at 1:25 am

    The Horner’s method for evaluating a polynomial seems to take Hard Coded values. Will the user defined values work in Horner method like they work in the above two C Programs?

    • July 31, 2016 at 7:52 pm

      Yes! It will definitely work. The Horner’s method to evaluate a polynomial here takes a hard coded array. You can take input for the array from the User. I think it should work.

  • July 31, 2016 at 2:17 pm

    So many methods to solve and evaluate a polynomial expression in c programming helped to clear how and when to use functions. Also it helped to analyze how to convert functions into main programs.

    • July 31, 2016 at 7:07 pm

      I am glad that you liked it. The main reason behind posting 2 different ways of writing how to calculate and evaluate a polynomial in c is to make the programmers understand the minute difference between for and while loops as well as functional approach.

  • October 5, 2016 at 7:51 pm

    This C Program to evaluate an arithmetic expression is just to good. Thanks.


Join The Discussion