hwkLeastSquares

  < Previous  Next >

Due Date

See the calendar for due date.

Description:

Write a Fortran program that:
  1. Reads in the values from leastSquares.dat and calculates the best fit of the data to a line using linear least squares (i.e., x1 and x2)
  2. Calculates the predicted y values using the results of the linear least squares and the t values in the data file
Additionally, use a Makefile with multiple recipes and make to compile your program.
After the program works correctly, write a brief report (about a paragraph and definitely less than a page) in LaTeX that includes the following:
  1. A quick synopsis of your algorithm
  2. How you validated your results
  3. Difficulties encountered
  4. The number of hours spent

Rubric:

Points      Item
----------  --------------------------------------------------------------
_____ /  5  Makefile
_____ / 10  Program: Read from file
_____ / 10  Program: Predictions (i.e., x1, x2 and y values)
_____ /  5  Program: Output
_____ /  5  Report: Algorithm synopsis
_____ /  5  Report: Validation
_____ /  5  Report: Difficulties
_____ /  5  Report: Hours

_____ / 50  Total

_____  Approximate number of hours spent
      

Submission

Submit the following for this assignment into the appropriate folder in the dropbox for COMS 6100 at https://elearn.mtsu.edu:
  1. A makefile that will compile your code correctly
  2. Fortran source code
  3. Plain-text output of the program running (e.g., redirect the output of the program using ">")
  4. PDF of your brief LaTeX write-up
  5. Completed rubric (estimates for each line including hours spent)
Note: You may not use any subroutines, functions, or codes written by other authors in this assignment!