Sum of a Special Number Series

# Introduction In this project, you will learn how to calculate the sum of the first N (N >= 6) terms of a special number series. This series is defined by the following pattern: $\frac{2}{1} + \frac{3}{2} + \frac{5}{3} + \frac{8}{5} + \frac{13}{8} + \frac{21}{13} + ...$ The numerators of this series are the Fibonacci numbers (2, 3, 5, 8, 13, 21, ...), and the denominators are also the Fibonacci numbers (1, 2, 3, 5, 8, 13, ...). ## 👀 Preview ```python $ python3 sum_fib.py Enter the value of n: 6 Sum of the special series: 10.00705 $ python3 sum_fib.py Enter the value of n: 20 Sum of the special series: 32.66026 $ python3 sum_fib.py Enter the value of n: 45 Sum of the special series: 73.11111 ``` ## 🎯 Tasks In this project, you will learn: - How to understand the problem statement and requirements for the project - How to implement the `sum_fib` function to calculate the sum of the first N terms of the number series - How to test the `sum_fib` function by running the `sum_fib.py` script - How to explain the logic behind the `sum_fib` function and the underlying Fibonacci number series ## 🏆 Achievements After completing this project, you will be able to: - Understand and solve problems related to number series and mathematical sequences - Implement functions to perform calculations on complex number series - Test and validate your code to ensure it meets the project requirements - Explain the logic behind your solutions and the underlying mathematical concepts

|60 : 00

Click the virtual machine below to start practicing