hello
I am learning fortran.
and wrote a cod for integration of (for example )sin^2((3pi)*x) from 0 to 2 .
I used two way for that
1) rectangle rule
2) trapezoid rule
but I doubt it works properly or not .
I need help for check it
thank you for your help.