next up previous
Next: Project 2 Up: Modeling a Robotic Previous: Homework

Laboratory 3

In this lab we will practice modifying a Fortran program so it writes the output to a file that is suitable of viewing through the web browser.

We will also practice making tables in html.

  1. You now should have a file named rbjnts.f in your root directory. Copy the file rbtjnts.f into a file named lab3.f . Use an editor to view it.

  2. Compile and run the file lab3.f so you understand how it behaves.

  3. Modify the program lab3.f so that it prints out to the screen the input it just received. Make sure that when it prints it identifies the values it is printing.

  4. Modify your program so that all reading is done to a file named lab3input.dat.

  5. Further modify your program so that all printing is done to a file named lab3results.html. Make sure it also prints appropriate html annotations to make the file readable by the browser.

  6. Once you have saved the file lab3.f , and it works correctly, copy the files lab3.f and lab3results.html to your public_html directory.

  7. Modify your cs2503.html file to place links to lab3results.html, lab3.f.

  8. Handin the files lab3results.html, lab3.f, and your modified cs2503.html.


next up previous
Next: Project 2 Up: Modeling a Robotic Previous: Homework


J. C. Diaz