Find Jobs
Hire Freelancers

Assistance: C++ Do the Project and Explain.

$10-30 USD

已完成
已发布超过 8 年前

$10-30 USD

货到付款
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: 8821996

关于此项目

4提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 在1天之内
5.0 (16条评论)
4.6
4.6
4威客以平均价$64 USD来参与此工作竞价
用户头像
A proposal has not yet been provided
$29 USD 在2天之内
4.9 (949条评论)
7.3
7.3
用户头像
A proposal has not yet been provided
$77 USD 在0天之内
5.0 (37条评论)
5.9
5.9
用户头像
A proposal has not yet been provided
$111 USD 在1天之内
5.0 (7条评论)
3.9
3.9

关于客户

UNITED STATES的国旗
United States
5.0
1
会员自11月 2, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。