Question: In word macros format please! Thank you! The function e can be expressed as an infinite power series as follows: 1 2 3! 4! or
The function e can be expressed as an infinite power series as follows: 1 2 3! 4! or as a general term: ex= 1-0 Since this is an infinite series we will need to decide how far to go to achieve a desired degree of accuracy. The terms in the series get smaller and smaller so the size of the last term used to find the sum, e will be used to decide when we have reached the desired accuracy. Program requirements: Use a main program and two user-defined Function subprograms. In the main program, prompt user in enter a value, x, to use in calculating e. -In the main program, output the answer (the calculated e value) and calculate the ecx) using -Use a user-define Function to calculate a Factorial, N In the main program, prompt the user to enter a maximum value of the last term in the series (suggested value 1 x 107). VBA built-in function and output that answer also (for comparison purposes) Use a user-defined Function to calculate the exponential (e) function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
