<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>polynomial | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/polynomial/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Mon, 05 Sep 2011 16:54:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Program to find the value of the polynomial f(x)=a4x4+a3x3+a2x2+a1x+a0 using Horner&#8217;s method</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/number/program-find-polynomial-fxa4x4a3x3a2x2a1xa0-horners-method-2/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c/number/program-find-polynomial-fxa4x4a3x3a2x2a1xa0-horners-method-2/#comments</comments>
		
		<dc:creator><![CDATA[Chitra]]></dc:creator>
		<pubDate>Mon, 05 Sep 2011 16:24:55 +0000</pubDate>
				<category><![CDATA[Number Programs]]></category>
		<category><![CDATA[Horner's method]]></category>
		<category><![CDATA[polynomial]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=2119</guid>

					<description><![CDATA[<p>Here is the program to find the value of the polynomial f(x)=a4x^4+a3x^3+a2x^2+a1^x+a0 using Horner&#8217;s method #include "stdio.h" #include "conio.h" void main() { float a[100],sum=0,x; int n,i; clrscr(); printf("Enter the degree of the polynomial:"); scanf("%d",&#38;n); printf("Enter the coefficients into the array:"); for(i=n;i&#62;=0;i--) { scanf("%f",&#38;a[i]); } printf("Enter the value of x:"); scanf("%f",&#38;x); for(i=n;i&#62;0;i--) { sum=(sum+a[i])*x; } sum=sum+a[0];</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/number/program-find-polynomial-fxa4x4a3x3a2x2a1xa0-horners-method-2/">Program to find the value of the polynomial f(x)=a4x4+a3x3+a2x2+a1x+a0 using Horner’s method</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Here is the program to find the value of the polynomial f(x)=a4x^4+a3x^3+a2x^2+a1^x+a0 using Horner&#8217;s method</p>
<pre lang="c" escaped="true" line="1">
#include "stdio.h"
#include "conio.h"
void main()
{
 float a[100],sum=0,x;
 int n,i;
 clrscr();
 printf("Enter the degree of the polynomial:");
 scanf("%d",&amp;n);
 printf("Enter the coefficients into the array:");
 for(i=n;i&gt;=0;i--)
 {
  scanf("%f",&amp;a[i]);
 }
 printf("Enter the value of x:");
 scanf("%f",&amp;x);
 for(i=n;i&gt;0;i--)
 {
  sum=(sum+a[i])*x;
 }
 sum=sum+a[0];
 printf("\nValue of the polynomial is =%f",sum);
 getch();
}
</pre>
<p>Consider the polynomial 3x^4+2x^3+x^2+x+2 where x=2, then the output will be as follows,<br />
Output:</p>
<pre lang="c" escaped="true">
Enter the degree of the polynomial:
4
Enter the coefficients into the array:
3
2
1
1
2
Enter the value of x:
2
Value of the polynomial is:72.000000
</pre><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/number/program-find-polynomial-fxa4x4a3x3a2x2a1xa0-horners-method-2/">Program to find the value of the polynomial f(x)=a4x4+a3x3+a2x2+a1x+a0 using Horner’s method</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/c-tutorials/c/number/program-find-polynomial-fxa4x4a3x3a2x2a1xa0-horners-method-2/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
	</channel>
</rss>
