Additional Materials eBook 13. [-12 Points] DETAILS SCALCET8M 11.2.033. MY NOTES AS Determine whether the series is convergent or divergent. 1 3 + e-n n = 1 convergent divergent If it is convergent, find its sum. (If the quantity diverges, enter DIVERGES Additional Materials eBook In each case the program is to request the user for the necessary variable values and to display all information. i. - Create a function that, in addition to the variables of the circuit (Vin, R1, R2, C), also takes two arrays as inputs, "ArrayT, will store a range of times. "ArrayV-will-store the corresponding Vout. ii. The function is to calculate the output value of the circuit for each value of time-stored in ArrayT-and-store the value-in- corresponding index location ArrayVT iii. Repeat the above, this time making use of pointers, ensuring that the functions can take pointers as-inputparameters i. + Write a function to calculate the Voltage-Gain of the circuit when given; frequency, capacitor and resistor values Where the gain may be expressed as follows: Vour = 20 log Vin R R+R 1+ ACRR R+R, where=o=27 ii. - Create a function to calculate the first-50-values of the circuit's Voltage Gain when given values-for-R: R2, C and the size of the frequency increments Consider the following RC circuit:1 RIS Vins ---- Vout The-step response of this circuit may be expressed as follows: Rj+R CRR V R EV 1- R, +R, wheret-time (in seconds) Write a program to examine the circuit containing the following elements i. Write a function to calculate and return the value of Vou when given; the input voltage, the resistor values, capacitor value and time. 1 ii. Using an array, write an additional function to calculate and store the first 50-values of Vout when given the values for; Vins C, Ry R and the time increment by which time is to be increased