MthSc 360: Project 1


Here are the rules for Project 1.

Write a script which does the following:

  1. Calls the function MakeData(s) with the last four digits of your social security number. For example if your social security number is 123-45-6789, then your script should have a line similar to
    T = MakeData(6789).
    MakeData will return a vector of 10 to 30 "temperatures."
  2. Plots the temperatures, where the values on the x-axis of the plot are simply the indices, and the values on the y-axis are the temperatures. The temperatures should be connected by straight lines,
  3. Displays a title, which includes your name, and appropriate labels for the x and y axes.
  4. Calculates the average temperature and the standard deviation.
  5. Prints out a formatted message which gives the number of data points, the average temperature, the standard deviation, the number of data points which are strictly larger than the average plus one standard deviation, and the number of data points which are strictly less than the average minus one standard deviation.
  6. When you get your script (program) running correctly, print a copy of the command window, print a copy of your script, and print a copy of your plot. Turn these in as part of your portfolio. Save a copy of your script on your backup disk. If you want, you can send me an email copy of your script.

Professor: Daniel D. Warner, Mathematical Sciences, Clemson University
Send questions and comments to: warner@math.clemson.edu
Last Updated: September 2, 1996