(12C Platinum) Geometric Progression - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C Platinum) Geometric Progression (/thread-12256.html) |
(12C Platinum) Geometric Progression - Gamo - 01-23-2019 05:52 AM ALG mode solution for Geometric Progression a = First Term r = Common Ratio n = nth Term S = a + ar + ... + ar^n-1 Where S = a(1-r^n) / 1-r ---------------------------------------- Procedure: a [R/S] r [R/S] n [R/S] display S ---------------------------------------- Example: Find the sum of the geometric series 8 - 4 + 2 - 1 + ... where there are 5 terms in the series 8 [R/S] display 8.00 .5 [CHS] [R/S] display -0.50 5 [R/S] display 5.5 Answer: The 5 terms is 5.5 -------------------------------------------------- Program: ALG mode Quote:[STO] 0 [R/S] Gamo |