CSC418/2504F, Fall2000: Assignment 2, question 6

For this question, you should use the skeleton code provided: which is invoked as follows:
robot infile
where infile contains four numbers:
  1. θ1, the first angle, in degrees.
  2. θ2, the second angle, in degrees.
  3. L, the forearm length.
  4. D, the distance between the fingers.
Some auxiliary files you can use: