Question: ASSIGNMENT- 4 Problem - 1: The exponential, sine, and cosine series function are as follows n 2n+1 2n+1 7L a. Write a C++ program that

 ASSIGNMENT- 4 Problem - 1: The exponential, sine, and cosine series

ASSIGNMENT- 4 Problem - 1: The exponential, sine, and cosine series function are as follows n 2n+1 2n+1 7L a. Write a C++ program that calculates the series e, sin r and cos r, where the user enters value of r and the n the number of terms in the series. (Note: you may have to convert degrees to radians for sin and cos functions). Note that the program should use functions for each 5 Points of the series. b. Draw a detailed flow chart on how this program is being designed, indicating the necessary inputs, outputs and the algorithm you have used. The flow chart should be included as a document file 4 Points along with your program listing (source code) c. Now do a convergence study using different values of n for a given value of and plot the 3 Points convergence graph

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!