1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
balu736 [363]
3 years ago
6

(Financial application: compound value) Suppose you save $100 each month into savings account with an annual interest rate of 5%

. Thus, the monthly interest rate is 0.05/12=0.00417. After the first month, the value in the account becomes 100 * (1 + 0.00417) = 100.417 After the second month, the value in the account becomes (100 + 100.417) * (1 + 0.00417) = 201.252 After the third month, the value in the account becomes (100 + 201.252) * (1 + 0.00417) = 302.507 and so on. Write a program that prompts the user to enter a monthly saving amount, annual interest rate, and number of months and displays the account value after the user-defined number of months. Sample run:
Computers and Technology
1 answer:
Nostrana [21]3 years ago
7 0

Solution:

initial = float(eval(input('Enter the monthly saving amount: ')))

x = (1 + 0.00417)

month_one = initial * x

month_two = (initial + month_one) * x  

month_three = (initial + month_two) * x  

month_four = (initial + month_three) * x

month_five = (initial + month_four) * x  

month_six = (initial + month_five) * x  

print('The sixth month value is: '+str(month_six))  

Don't forget the saving amount, and initialize the balance with that amount. Inside the loop, work out and add the interest and then add the saving amount for the next month.

balance = 801

for month in range(6):

  balance = balance * (1.00417)

print(balance)

You might be interested in
Which type of RAM is used exclusively in laptops?<br> a) SODIMM<br> b) DDR3<br> c) DDR<br> d) DDR4
Black_prince [1.1K]

Answer:

DDR3

Explanation:

6 0
3 years ago
Isabel and Jared work for the same company but in different departments. Their workstations are both part of the company's compu
Nina [5.8K]

Network access limitations implemented from their local IT Department

3 0
3 years ago
Read 2 more answers
Which memory device should Peter use in his digital camera and media player?
Sladkaya [172]
A flash drive can be useful to store memory
3 0
3 years ago
your application is using kinesis to ingest data from a number of environmental sensors which continuously monitor for pollution
Lilit [14]

My response to this suggestion would be that the number of shards exceeds the number of instances because a single worker can process an infinite number of shards.

<h3>What is AWS?</h3>

AWS is an acronym for Amazon Web Service and it can be defined as a web-based service that is saddled with the responsibility of providing on-demand cloud computing and application programming interface (API) to individuals, governments, and business firms on a metered basis.

<h3>What is Amazon Kinesis?</h3>

Amazon Kinesis can be defined as an Amazon Web Service (AWS) which is designed and developed to enable an end user to ingest, buffer, and process large-scale data streams from multiple services in real-time.

In this scenario, my response to this suggestion would be that the number of shards exceeds the number of instances because a single worker can process an infinite number of shards.

Read more on Amazon Kinesis here: brainly.com/question/28115685

#SPJ4

5 0
2 years ago
​the unified modeling language (uml) represents an object as a _____ with the object name at the top, followed by the object's a
Ghella [55]

An object in UML is drawn as a rectangle, typically creating two columns. The top column will contain the name and bottom column will contain attributes of the object.

6 0
3 years ago
Other questions:
  • Which key removes all data from an active cell with one click
    7·2 answers
  • ________ software provides a means of sharing, distributing, and searching through documents by converting them into a format th
    13·1 answer
  • A factory producing cables for personal computers finds that its current average
    10·1 answer
  • Write a program that reads a list of integers, and outputs those integers in reverse. The input begins with an integer indicatin
    10·1 answer
  • Betrand Meyer developed the ______ programming language which is not type-safe because it violates the law of contravariance.
    9·1 answer
  • Which of the following statements is true?
    9·1 answer
  • How to write greater than or equal to in excel if function
    7·1 answer
  • Minerals that contain the elements silicon and oxygen are called ______.
    7·1 answer
  • What is the purpose of a career portfolio?
    6·1 answer
  • Please helpppppppppppppp
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!