Intermediate Exercise
Create a Function where the user enters $n$ numbers of terms desired for a series and is returned its sum, the series being the following: $$S={1 \over 1^3} - {1 \over 3^3} + {1 \over 5^3} - {1 \over 7^3}+...$$
Remember that in most cases there is more than one way to solve the exercise.
Hint: Create a Loop with a given "$n$" and try to realize the pattern that exists in the series to be replicated.
SuperExcelVBA.com is learning website. Examples might be simplified to improve reading and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. All Rights Reserved.
Excel ® is a registered trademark of the Microsoft Corporation.
© 2021 SuperExcelVBA | ABOUT