Operations On Polynomials - Online Code
Description
This is a program which Evaluates the value, Adds, Multiplies two polynomials P & F to Evaluate Polynomial of Degree less than or equal to 20.
Source Code
#include <iostream.h> #include<cstring.h> void polyadd(float*a,int dega,float*b,int degb,float*sum) {int i ; if(dega>=degb) {for (i=0;i<=dega;i++) sum[i]=a[i]+b[i] ;} if(degb >dega) {for(i=0... (login or register to view full code)
To view full code, you must Login or Register, its FREE.
Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.
Related Online Codes:
Comments
No comment yet. Be the first to post a comment. |