C#
Question 9 10 pts Write a class PiTaylorSeries that implements IEnumerable<decimal>, Yield the first value, then each subsequent call add the next term in the series and yield the result. pi- 4-4/3+ 4/5-4/7+ https://www.physicsforums.com/threads/taylor-series- approximation-for-pi:839441/ Use the Enumerable to see how many values it takes until you can estimate Pi to 5 decimal places (3.14159) HTML Editor Show transcribed image text Question 9 10 pts Write a class PiTaylorSeries that implements IEnumerable, Yield the first value, then each
OR
OR