Code: zeros.c
Sample Code: zsample.c
(uses zeros.c)
The sample program above solves a simple Quantum mechanics boundary value problem by finding zeros of a function, and outputs energy levels and wavefunctions (in Mathematica format). The output can easily be plotted in Mathematica.
Output example: zsample.dat