Find Jobs
Hire Freelancers

Assistance: C++ Do the Project and Explain.

$10-30 USD

Terminado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
For all the following problems, make sure you devise testing of the algorithms that prove that what you programmed worked as intended. I want a menu that runs the programs and returns to the menu for further choices. See the menu program sent with this midterm. I want you to do any 4 or 5 of the following programs but there must be one of each type Vector, List, and Recursion. Yes, these are easy problems. Make sure you total the points when you are done. 100 is the maximum score. Put your problems and point count in a menu program. Here are the points for each problem 1 - 15 pts 2 - 20 pts 3 - 25 pts 4 - 15 pts 5 - 20 pts 6 - 25 pts 7 - 25 pts 8 - 15 pts 9 - 25 pts 1) Vector - Fill a vector with random inputs. Write a function vector *top(vector x,int p) that returns in a vector the top p elements of the x input vector. 2) Vector - Fill a vector with random inputs. Write a function vector *mode(vector x) that returns a vector that represents the mode of vector x. Note: Make sure there is more than one mode. 3) Vector - Fill a vector with random inputs. Write a function statClass *stat(vector x) that returns a class that contains the min,max and average of the x vector but also uses a map to solve the mode problem and returns the important elements for the mode. 4) List - Try using a list that does 1) 5) List - Try using a list that implements 2) 6) List - Try using a list that implements 3) 7) List - A self-organizing list is a list that moves each element to the front of the list whenever it is accessed. This modification improves the efficiency of the standard implementation if the list is used mostly for look-up. Use inheritance to define a SelfOrganizingList class template. Add a single function that tests if the list contains the element by returning a boolean then putting the element at the front of the list. 8) Recursion - Implement the tangent function recursively using the formulas tan(2x)=(2 tan(x))/(1-(tan(x))^2) |tan(x) ~ x + x^3/3| < epsilon Accuracy to 2 decimal places is good enough. 9) Recursion - Use mutual recursion to implement the following functions h(2x)=2h(x)g(x) g(2x)=1+2(h(x)^2) h(x) ~ x + x^3/6 just test if |x| < epsilon g(x) ~ 1 + x^2/2 just test if |x| < epsilon Epsilon -> accuracy to 6 decimal places is good enough.
ID del proyecto: 8821996

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 9 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
Adjudicado a:
Avatar del usuario
I can do it 100% correclty and in a short time. I'm a computer science professional with a PhD degree and extensive experience in C and C++. I've done many programming projects and assignments in C/C++ and other languages, please see reviews on my profile. It would be my pleasure to do your project.
$40 USD en 1 día
5,0 (16 comentarios)
4,6
4,6
4 freelancers están ofertando un promedio de $64 USD por este trabajo
Avatar del usuario
A proposal has not yet been provided
$29 USD en 2 días
4,9 (949 comentarios)
7,3
7,3
Avatar del usuario
A proposal has not yet been provided
$77 USD en 0 día
5,0 (37 comentarios)
5,9
5,9
Avatar del usuario
A proposal has not yet been provided
$111 USD en 1 día
5,0 (7 comentarios)
3,9
3,9

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
1
Miembro desde nov 2, 2015

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.