ENGR326Lab1.pdf

subroutine romberg(NT,LL,UL,F,VALUE, ESP1,MaxIt,It,ExitFlag)

NT-starting number of trapezoids LL,UL - lower and upper limits of integral F - function - in main program we will pass the name of external function Value - answer - percent associated with UL ESP1- convergence tolerance MaxIt - Max number of iterations It - iterations ExitFlag- why did we stop (convergence? Or Max Iterations)

E326 Lab 1 Wednesday, August 26, 2020 4:33 PM

326F20 Page 1

326F20 Page 2

326F20 Page 3