العودة لقائمة المشاريع
حل سؤال بلغة c++
الميزانية
$25.00 - $50.00
التصنيف
برمجة، تطوير المواقع والتطبيقات
المهارات المطلوبة
C++ Programming
هندسة البرمجيات
تطوير البرمجيات
C++ Programming
هندسة البرمجيات
تطوير البرمجيات
الوصف
لدي مشروع برمجي صغير بلغة سي بلص بلص
compute the best fitting line for a set of measurements in bivariate data. Furthermore, it aims to approximate the computational complexity of the developed algorithm using regression
Write a program that performs the following flow of tasks:
1. Read a set of measurements from a text file. The format of the text file
should be as following:
x: 15 10 20 3
y: 7 9 13 4
Where this corresponds to the following (x,y) pairs:
(15, 7), (10,9), (20,13), (3,4)
2. With assuming x to be the independent variable and y is the dependent
variable, find the regression line y=a+bx. Make sure to show all your steps when
finding the regression line and print each parameter involved in this computation.
3. Run your code with increasing number of measurements (N) as following:
N=10, 20,50,100,200,500,1000
4. Record the runtime for each number of measurements.
5. Use your code again to get the regression line for the runtime as a function
of N.
6. State your conclusions.