Hint for problem 2

  1. Pick 9 points on your curve and find their coordinates (x1,y1), ... , (x9,y9) (in the order as they are on the curve, first point is starting point, last point is end point of curve)
  2. For the given data
    ti12...89
    xix1 x2...x8 x9
    use the subroutines pchez and pchev to obtain at the values tei=1.0,1.1,...,8.9,9.0 the interpolated values xe1, ... , xe81 :
    tei1.01.1...8.99.0
    xeixe1 xe2...xe80 xe81
  3. For the given data
    ti12...89
    yiy1 y2...y8 y9
    use the subroutines pchez and pchev to obtain at the values tei=1.0,1.1,...,8.9,9.0 the interpolated values ye1, ... , ye81 :
    tei1.01.1...8.99.0
    yeiye1 ye2...ye80 ye81
  4. Write a file mydata which contains one xei and one xei value per line:
    xe1 ye1
    .
    .
    .
    xe81 ye81
  5. Use the Gnuplot command
    plot "mydata" with lines
    to obtain a plot.

Tobias von Petersdorff , tvp@math.umd.edu
Last modified: Mon Apr 14 13:05:03 EDT 1997