Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 702 results for
polynomials
- Page 1
polynomials
Programming
Software Development
13 Years Ago
by coxxie
…d) Overload the multiplication operator (*) to multiply two
Polynomials
. e) Overload the addition assignment operator (+=), subtraction…b; a.printPolyNom(); cout << "\nSubtracting the
polynomials
: \n"; a = t; c = a - …b; a.printPolyNom(); cout << "\nMultiplying the
polynomials
: \n"; a = t; c = a * …
Polynomials
Programming
Software Development
15 Years Ago
by Pamilerin
…, a1, a2, a3 , … , an are constant coefficients. Evaluation of such
polynomials
may be important if Pn(x) is to be computed… x are equal. Your program should be able to process
polynomials
of degree 6 or less." So far i guess…
polynomials
Programming
Software Development
11 Years Ago
by javalearner1
… I want change it as it can get two
polynomials
and then multicipate them for example: input: 5x -2x^2 +…
Re: Polynomials
Programming
Software Development
15 Years Ago
by tux4life
… from? Well, [QUOTE] Your program should be able to process
polynomials
of degree 6 or less. [/QUOTE] Now you've an…
Re: polynomials
Programming
Software Development
11 Years Ago
by JamesCherrill
Do you mean that you want the user to be able to type in 2
polynomials
that you can then multiply using your existing code?
Re: polynomials
Programming
Software Development
11 Years Ago
by iamthwee
>I wrote this code for mutipicate two
polynomials
LOL good one. I wrote that code. Check my username under my snippets. And it is an example in C++.
polynomials
Programming
Software Development
20 Years Ago
by server_crash
… been trying to figure out how to plot the stupid
polynomials
..I thought I had it, but the program seems to…
Polynomials
Programming
Software Development
17 Years Ago
by tragicallylost
…++ class and I have to write a program that manipulates
polynomials
. The assignment requires that you have a largeInteger class from…
Re: Polynomials
Programming
Software Development
17 Years Ago
by iamthwee
>write a program that manipulates
polynomials
So are you going to post your code so far …
Polynomials with linked lists
Programming
Software Development
17 Years Ago
by johndory
… size; Lnode *head, *tail; }; # include <iostream> # include "
Polynomials
.h" using namespace std; poly::poly(){ head = tail = NULL…->next; } } //Test File # include <iostream> # include "
Polynomials
.h" # include "poly.cpp" using namespace std…
Re: Polynomials with linked lists
Programming
Software Development
17 Years Ago
by VernonDozier
…; }; [/code] it appears that you have something to do with
polynomials
in that class (coefficient and exponent). So what does the…
Re: Polynomials with linked lists
Programming
Software Development
17 Years Ago
by johndory
…; }; [/code] it appears that you have something to do with
polynomials
in that class (coefficient and exponent). So what does the…
Polynomials, and terms
Programming
Software Development
15 Years Ago
by peterwalter
I have to create a class called
Polynomials
and other called PolynomialTerm. The latter one to copy, add and multiply PolynomialTerm (exponents, coefficients). I also have to do the same for the Polynomial(which is an arrayList of PolynomialTerms). I am having problems adding the two
polynomials
.I need to do this using recursion.
Polynomials and Addition
Programming
Software Development
11 Years Ago
by bradley1234
I want to make two
polynomials
and then add them. We have two lists, [1,2,…0,3] and [2,3,0,0,1]. The
polynomials
are as followed: 3x^3+2x+1 and x^4…
Re: Polynomials with linked lists
Programming
Software Development
17 Years Ago
by Lerner
…. The resultant polynomial representing the product of the two original
polynomials
will need to have it's degree/size calculated by…
Re: Polynomials In Java?
Programming
Software Development
14 Years Ago
by AndrewSD
…I][/B] Ok well I wrote a class that simplifies
polynomials
, but I always get weird answers. Take a look at…=java] package polynomialhelper; import javax.swing.*; /** * This class helps with
polynomials
! * @author Andrew */ public class polynomialEngine { /** * Class constructor nothing interesting. */ …
Polynomials In Java?
Programming
Software Development
14 Years Ago
by AndrewSD
… you have any idea on a simple way to simplify
polynomials
? Please help! Thanks in advanced, Andrew
polynomials and linked list
Programming
Software Development
4 Years Ago
by Sami Rmaileh
what code is help me to reading polynomail from a file in c and save it as linked list note I do not know how
polynomials
is should to read plz help me i do not know who
Re: polynomials and linked list
Programming
Software Development
4 Years Ago
by rproffitt
… as an array. Read https://www.geeksforgeeks.org/multiply-two-
polynomials
-2/ As we see there one poly has 3 entries…
Re: polynomials
Programming
Software Development
13 Years Ago
by WaltP
Look at line 275 and 278 as your errors mention. What's the [I]definition[/I] of [iCODE]coeff[/iCODE] from your parameter list, and how are you using it? Are they the same, or even similar?
Re: polynomials
Programming
Software Development
13 Years Ago
by Schol-R-LEA
What seems to be happening here is that you are getting a conflict between two variables named [icode]coeff[/icode]: one is an instance variable of the class, which is an array of [ICODE]int[/ICODE], the other is an argument of the method, which is an [ICODE]int[/ICODE]. Because of the scoping rules, the argument is masking the instance variable.…
Re: polynomials
Programming
Software Development
13 Years Ago
by coxxie
[QUOTE=WaltP;1703822]Look at line 275 and 278 as your errors mention. What's the [I]definition[/I] of [iCODE]coeff[/iCODE] from your parameter list, and how are you using it? Are they the same, or even similar?[/QUOTE] parameters are the same as well as the def. used the same data members through out the code so can't figure out why it isn'…
Re: polynomials
Programming
Software Development
13 Years Ago
by WaltP
[QUOTE=coxxie;]parameters are the same as well as the def. used the same data members through out the code so can't figure out why it isn't working and why its asking for pointers.[/QUOTE] They are? I see in the parameter list a single int. ([ICODE]void PolyNom::setCoeff( int term, [B]int coeff[/B])[/ICODE]) I see in the function an array …
Re: polynomials
Programming
Software Development
10 Years Ago
by Aqeel Rafique
what is meant by "The internal representation of a Polynomial is an array of terms." please describe me I also have same question as an assignment. but I don't understand what does the above statement mean... kindly guide please......
Re: polynomials
Programming
Software Development
10 Years Ago
by NathanOliver
That means the the Polynomial class is going to have an array of terms the represent the polynomial.
Re: Polynomials
Programming
Software Development
15 Years Ago
by giootin_tiz
233320
Re: polynomials
Programming
Software Development
11 Years Ago
by sara12234
yes!!!
Re: polynomials
Programming
Software Development
11 Years Ago
by sara12234
where should I find it?
Re: polynomials
Programming
Software Development
20 Years Ago
by tonakai
well, i think i got the problem, the problem is you are thinking your origin is in the center of the cross you draw, but the origin is top-left corner of the screen, so you need to map your results to fit the screen, i don't use graphics stuff but it seems the problem... and you need to clear the screen before repainting... another program is x0…
Re: polynomials
Programming
Software Development
20 Years Ago
by tonakai
I messed up your code a bit, it has some mistakes but does the job you want... i try to put some comments to make things clear. [B] ImagePlotter.java [/B] [CODE] import java.awt.image.*; import java.awt.*; import javax.swing.*; public class ImagePlotter extends JPanel { private Graphics2D g2d; private int[] xPoints; private int…
1
2
3
12
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC