Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Problem 12 page 379 The Power Series 1+x+((x^2)/(2!))+((x^3)/(3!))+...= x^k/k! (

ID: 3618183 • Letter: P

Question

Problem 12 page 379
The Power Series
1+x+((x^2)/(2!))+((x^3)/(3!))+...= x^k/k! (on top ofthe sigma is infinity and on the bottom is k=0)

Converges to e^x for all values x. Write a functionsubprogram that uses this series to calculate values for e^x tofive decimal-place accuracy (i.e., using terms up to the first onethat is less than 10^-5 in absolute value) and that uses a functionsubprogram to calculate factorials. Use these subprograms ina main program to calculate and print a table of values for thefunction

cosh(x)=(e^x+e^-x)/(2)

and also the corresponding values of the library function COSH forx=-1 to 1 in increments of 0.1.

Explanation / Answer

please rate - thanks sorry can't help more, since I don't understand the math for theCos but this should help REAL ACRCY, X, FCOSH,KCOSH, E       INTEGER FACTOR *       PRINT 20 20 FORMAT(5x,'X',10x,'COSH(x)', 6x, 'COSH LIBRARY')      PRINT*,'_________________________________________'        ?       REAL FUNCTION E(X)       REAL X, ACRCY       INTEGER FACTOR       term=0       I = 0       E = 1       CHECK = 1       DO WHILE abs(term)