Homework Assignments
Assignment I is here:
in Postscript or
PDF
Assignment II is here:
in Postscript or
PDF
Assignment III is here:
in Postscript or
PDF
Assignment IV is here:
in Postscript or
PDF
|
|
Sample Solutions
(These are just examples of programs that meet the requirements for the
assignments).
Assignment I
p01.c - the program to square a number.
Assignment II
p02.c - the factorial program
a second version using recursion is
here
p03.c - the vector dot and cross product program
a second version with the dot and cross product calculations carried out in
C
functions is here
Assignment III
p04.c - the coupled differential equations
program
a plot of x(t) vs time for this program is Euler.gif
p05.c - the integration by trapezoidal rule
program
|