Find Jobs
Hire Freelancers

ADT POLYNOMIALS in C++

$30-100 USD

Cerrado
Publicado hace alrededor de 16 años

$30-100 USD

Pagado a la entrega
We define ADT POLYNOMIAL which is a special case of the ADT LIST. Each element in the polynomial has two [login to view URL] and [login to view URL] elements of the ADT POLYNOMIAL are organized in a list in decreasing order of the Exponent [login to view URL] operations which should be defined for the ADT POLYNOMIAL are: * MAKENULL(): Initializes an empty polynomial ( the zero polynomial) * FIRST() returns the position of the first element of a polynomial * END() returns the position of the last element of a polynomial * INSERTEND(s): inserts a new element s at the end of the polynomial * INSERT(S): inserts a new element s in the polynomial and keeps the decreasing order of the polynomial * PRINT(): prints the element of a polynomial in order * EVALUATE(x): returns the value of a polynomial given the value of the parameter is x * ADD (P, Q, S): returns a polynomial S which is the sum of two polynomials P and Q. ie S=P+Q * SUB (P, Q, S): returns a polynomial S which is the result of subtracting polynomial Q from polynomial P. ie S=P-Q * MUL(P, Q, S): returns a polynomial S which is the product of two polynomials P and Q ie S=P*Q * DIV(P,Q,S,R) returns two polynomials : S, which is the quotient of the division of the polynomials P and Q, and R which is the remainder of this division. * POW (P n S) : returns a polynomial S which is the n_th power of the polynomial P,S=P(power n) For each element of an ADT POLYNOMIAL we define the following operations: * EXP() returns the exponent of the element * COEF() returns the coefficient of the element * NEXT() returns the element next to the current one in the polynomial The above ADT and procedures will be implemented using link list representation in C++.Each element will be presented as a record of three fields, namely, Exp,Coef,and Link,where Link is a pointer To test the program, use the following polynomials: A= 2x(cube)??"1, B= 2x(power 4)??"5x(square)+3, C = 2x(power 10)??"6x(square) Compute the following [login to view URL] each one(and the input polynomials)print the polynomials using a nice format and its value for x=2 Polynomials to be computed are: D= A+B, E = A-B, F = D*E, G = A(Square), H = B(square) I = G-H, J = F-I, K = B(cube) , L = K/C, M = K+A N= M/B
ID del proyecto: 3788477

Información sobre el proyecto

21 propuestas
Proyecto remoto
Activo hace 16 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
21 freelancers están ofertando un promedio de $56 USD por este trabajo
Avatar del usuario
See private message.
$85 USD en 3 días
5,0 (284 comentarios)
7,6
7,6
Avatar del usuario
See private message.
$42,50 USD en 3 días
4,9 (330 comentarios)
7,1
7,1
Avatar del usuario
See private message.
$85 USD en 3 días
5,0 (42 comentarios)
5,6
5,6
Avatar del usuario
See private message.
$41,65 USD en 3 días
5,0 (46 comentarios)
5,0
5,0
Avatar del usuario
See private message.
$85 USD en 3 días
4,5 (36 comentarios)
4,4
4,4
Avatar del usuario
See private message.
$85 USD en 3 días
4,9 (10 comentarios)
4,0
4,0
Avatar del usuario
See private message.
$76,50 USD en 3 días
5,0 (21 comentarios)
3,9
3,9
Avatar del usuario
See private message.
$63,75 USD en 3 días
5,0 (14 comentarios)
3,8
3,8
Avatar del usuario
See private message.
$34 USD en 3 días
4,8 (22 comentarios)
3,7
3,7
Avatar del usuario
See private message.
$72,25 USD en 3 días
5,0 (25 comentarios)
3,6
3,6
Avatar del usuario
See private message.
$17 USD en 3 días
4,8 (7 comentarios)
2,1
2,1
Avatar del usuario
See private message.
$11,90 USD en 3 días
4,4 (4 comentarios)
1,3
1,3
Avatar del usuario
See private message.
$63,75 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$50,15 USD en 3 días
0,0 (2 comentarios)
1,9
1,9
Avatar del usuario
See private message.
$63,75 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$68 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$63,75 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$38,25 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$47,60 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
See private message.
$25,50 USD en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
United States
0,0
0
Miembro desde mar 11, 2008

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.