Basic Exercise
Create an application that will calculate the output of the function $S=N+N^{2}+N^{3}+...+N^{M}$ where $N$ and $M$ are positive integers inputted by the user
Remember that in most cases there is more than one way to solve the exercise.
Hint: Create a Loop that runs from 1 to $M$. Every new term equals $N$ raised to the $i$^th power
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.
© 2024 SuperExcelVBA | ABOUT