Find Jobs
Hire Freelancers

Assistance: C++ Do the Project and Explain.

$10-30 USD

Completed
Posted over 8 years ago

$10-30 USD

Paid on delivery
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.
Project ID: 8821996

About the project

4 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 in 1 day
5.0 (16 reviews)
4.6
4.6
4 freelancers are bidding on average $64 USD for this job
User Avatar
A proposal has not yet been provided
$29 USD in 2 days
4.9 (949 reviews)
7.3
7.3
User Avatar
A proposal has not yet been provided
$77 USD in 0 day
5.0 (37 reviews)
5.9
5.9
User Avatar
A proposal has not yet been provided
$111 USD in 1 day
5.0 (7 reviews)
3.9
3.9

About the client

Flag of UNITED STATES
United States
5.0
1
Member since Nov 2, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.