Find Jobs
Hire Freelancers

Assistance: C++ Do the Project and Explain.

$10-30 USD

Selesai
Dibuat lebih dari 8 tahun yang lalu

$10-30 USD

Dibayar ketika dikirim
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 Proyek: 8821996

Tentang proyek

4 proposal
Proyek remot
Aktif 9 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
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 dalam 1 hari
5,0 (16 ulasan)
4,6
4,6
4 freelancer menawar dengan rata-rata $64 USD untuk pekerjaan ini
Avatar Pengguna
A proposal has not yet been provided
$29 USD dalam 2 hari
4,9 (949 ulasan)
7,3
7,3
Avatar Pengguna
A proposal has not yet been provided
$77 USD dalam 0 hari
5,0 (37 ulasan)
5,9
5,9
Avatar Pengguna
A proposal has not yet been provided
$111 USD dalam 1 hari
5,0 (7 ulasan)
3,9
3,9

Tentang klien

Bendera UNITED STATES
United States
5,0
1
Anggota sejak Nov 2, 2015

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.