Open poojashresthacode opened 7 months ago
@poojashresthacode In the code, we assign n=1, which allows the method to begin with the simplest approximation of the integral and then progressively refine this approximation by doubling the number of trapezoids in each iteration to increase accuracy where needed. Also if you increase n, it will increase computational time to run the job, less efficient.
@poojashresthacode For your convenience, you can try by plugging n=10, 100,...
Should we take value of n very small in this method? or can we use any?