diff --git a/ex-6/main.c b/ex-6/main.c index 6005f52..6c6cd8e 100644 --- a/ex-6/main.c +++ b/ex-6/main.c @@ -34,8 +34,8 @@ struct param { * wave. * * The intensity is given as a function of θ, - * the diffraction angle, all the other physical - * parameter are controlled by the structure `param`. + * the diffraction angle. All the other physical + * parameters are controlled by the structure `param`. * * See Fraunhöfer diffraction on "Hect - Optics" for * a derivation of the formula. @@ -80,7 +80,7 @@ gsl_histogram* gaussian_for(gsl_histogram *hist, double sigma) { gsl_histogram_set_ranges_uniform(res, 0, dx * n); /* The histogram will be such that - * the zero falls in the central bin. + * the maximum falls in the central bin. */ long int offset = res->n/2;