Write a C++ program to evaluate the following mathematical function to [url removed, login to view] accuracy. Explanation-add terms till adding new terms of the series represents an increase less than 0.0001. X is in radians, and the formula is valid for x=0 radians and x=1.57075. Check the program for the following values of x: x=0 cos(x) is 1.0 x=[url removed, login to view] cos(x) is 0.0 x=[url removed, login to view] cos(x) is 0.5 Use an user defined function for FACTORIAL. 2 4 6 cos( x) = 1 - x + x - x + ....... --- --- --- 2! 4! 6!
1) complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. 4) MS Visual C++ please
Windows XP, MS Visual C++