Laboratory 7 - Creating text data files, downloading files
using FTP, and graphing data using MATLAB
In Lab 6 we estimated the area under a sine
curve by counting the number of random darts that fell below the
curve, and comparing it to the total number falling into the eclosing
rectangle. Lab 7 is an extension of Lab 6, in which we will go
through the various processes required to graph the data typically
obtained from a lab_area program execution, as follows:

This lab has three distinct parts, as follows:
Files - Extend the program of Lab 6 (lab_area) to include
creating two data files:
sine.data - fifty coordinate points of the sine(x) curve over
the range x=[0,pi].
dart.data - a set of random coordinate points in the enclosing
rectangle.
FTP - Use FTP (File Transfer Protocol) to download the
two data files from your directory on condor to your local
PC.
MATLAB - Use MATLAB to graph the two sets of data overlaid
on a single plot.