HWRO5yC/Users/kristen/Desktop/HW205.py (3.74) File Edit Format Run Options Window Help Evan Marth 14 September 2019 Homework 2 Q5 print ('Models Compound Intereat for 1, 2, 4, 8, 16.. 2*N Periods. product int (input ('Enter N: 1)) [1, 2,4,8,16, 201 foc i in range (1, N+ 1): : ((u) uat) e6ueru C z01 amount = 1* (1+1/i) **i product.append (amount) (aonpord) augzd Col: 4

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter4: Financial Functions, Data Tables, And Amortization Schedules
Section: Chapter Questions
Problem 1EYW
icon
Related questions
Question

This program should compound interest continuously. It asks the user for the number of times they want to see their $1 compounded. And the years used in the equation are 1,2,4,8,16...2^N.  I. E. I want to see it compounded three times so the user enters 3. The problem is that when I run it. It computes it as though it’s going through numbers like 1,2,3,4,5,6,7,8,9. But I need it to go through the numbers I have it. As in 1,2,4,8,16...2^N

HWRO5yC/Users/kristen/Desktop/HW205.py (3.74)
File Edit Format Run Options Window Help
Evan Marth
14 September 2019
Homework 2 Q5
print ('Models Compound Intereat for 1, 2, 4, 8, 16.. 2*N Periods.
product
int (input ('Enter N: 1))
[1, 2,4,8,16, 201
foc i in range (1, N+ 1):
: ((u) uat) e6ueru C z01
amount = 1* (1+1/i) **i
product.append (amount)
(aonpord) augzd
Col: 4
Transcribed Image Text:HWRO5yC/Users/kristen/Desktop/HW205.py (3.74) File Edit Format Run Options Window Help Evan Marth 14 September 2019 Homework 2 Q5 print ('Models Compound Intereat for 1, 2, 4, 8, 16.. 2*N Periods. product int (input ('Enter N: 1)) [1, 2,4,8,16, 201 foc i in range (1, N+ 1): : ((u) uat) e6ueru C z01 amount = 1* (1+1/i) **i product.append (amount) (aonpord) augzd Col: 4
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L