For programs that use array variables (which will be most of them for the rest of the semester), you should turn on array bounds checking when you compile your program by using the compiling syntax:
gfortran -fbounds-check prog.f90This will ensure that the program stops in the event that you make an array bounds error.
hw24_1.inwere generated using an adaptive trapezoidal method. Use the process given in class to estimate the value of the integral of the function. In addition, compute the average value of the hi step sizes.
hw24_2.ininto an array variable and compute the 3 norms above. You should use a separate loop for each norm.