En cours

computer programming exercise in c

Your aim is to write a programme that can read in a text based data file, which contains an unknown number of data points, and fit the data to a linear (straight line) form. The format of the data file is x, y, x y where x, y are the errors on the x and y values The data should be read in from the file and then the various sums calculated so that the a and b coefficients and their associated error can be computed (note that the error in x is not used in this analysis method).

Read the data into an array before performing the sums. You could just calculate the sums without reading it first into an array, but please do it this way to demonstrate that you know how to use arrays. (for the more advanced use a dynamically created array). Finally, make the programme modular so that there is a separate function for reading in the data (takes a filename as an argument and returns an array with the data and the number of datapoints), and a function for calculating the least squares coefficients (takes the arrary of data and the number of points as arguments and returns the coefficients and errors).

Compétences : PHP, Architecture Logicielle

Voir plus : programming method, programming errors, programming error, programming array, php computer programming, php advanced programming, method programming, how to do linear programming, how to do computer programming, first computer programming, exercise programming, c# read and write text file, c programming arrays, computer programming errors, computer programming c++, computer programming and analysis, c computer programming, arrays in programming, arrays in c programming, array programming, array in c programming, argument programming, advanced php programming 2015, advanced php programming, advanced c# programming

Concernant l'employeur :
( 0 commentaires ) United Kingdom

N° du projet : #8529790

Décerné à :

MateSimovic

A proposal has not yet been provided

33 £ GBP en 2 jours
(0 Commentaires)
0.0

7 freelance ont fait une offre moyenne de 111 £ pour ce travail

expertatwork

hey there....we can do this C programming assignment...please share the sample input text file if you have...thank you !

48 £ GBP en 0 jours
(29 Commentaires)
4.4
kamranbabarnust2

I had done MS in Engineering. Also I had 8+ years of experience in the field of programming using C/C++. I can easily do this task for you.

83 £ GBP en 3 jours
(8 Commentaires)
4.4
ithuang2014

Hello. How are you? I saw your description. I understand it and can do it well. I have done several project like this. I'm an expert in Data Structures and Algorithms. And I know Java ,C/C++ , PHP and P Plus

100 £ GBP en 2 jours
(33 Commentaires)
4.0
cscinstructor

I have read and fully understand your requirements .. Please open chat to discuss further.... +++++++++===================+++++++++++++========================+++++++++

83 £ GBP en 3 jours
(11 Commentaires)
3.9
koum23

Thank you for viewing my profile you can check have 5***/5*** also you can check happy customer. always trying to get customer satisfaction. I have gone through your project requirement specification and as per my p Plus

130 £ GBP en 7 jours
(12 Commentaires)
2.3
artworldwebsollx

Hello, I can absolutely help you with this project. I know it’s hard to trust a new Freelancer profile. But I am a Top rated freelancer working with Upwork (worked for more than 5000 hours). I am new to freelance Plus

231 £ GBP en 3 jours
(1 Commentaire)
2.0
madobrescu

Hello! I can help you with the project by writing a clean C code with comments, following the specifications. I have done a similar program before with points interpolation.

166 £ GBP en 1 jour
(0 Commentaires)
0.0