Even Bernoulli numbers can be generated by the following formula:
……]
Write a VBA program to evaluate the first 7 even Bernoulli numbers.
Use a for loop in your main program to define which Bernoulli number you
are generating. Within this loop call a subprogram to carry out the
actual evaluation. Return the answer to main and display it from there.
Continue evaluating a particular Bernoulli number until a series term
is less than 0.5e-6 or you have evaluated 20 terms.
Input the number of Bernoulli numbers to evaluate, the tolerance, and
the maximum number of terms from an input file. Echo these input values
through message box and to an output file. Other output should include
the number of Bernoulli number, its value, the number of terms used, and
the value of the last term.
