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
dybincka [34]
3 years ago
15

When a bank account pays compound interest, it pays interest not only on the principal amount that was deposited into the accoun

t, but also on the interest that has accumulated over time. Suppose you want to deposit some money into a savings account, and let the balance of the account after a specified number of years is:
A equals P (1 plus r over n )to the power of n t end exponent

The terms in the formula are:
A is the amount of money in the account after the specified number of years.
P is the principal amount that was originally deposited into the account.
r is the annual interest rate.
n is the number of times per year that the interest is compounded.
t is the specified number of year.

Write a program that makes the calculations for you. The program should ask the user to input the following: The amount of principal originally deposited into the account. The annual interest rate paid by the account The number of times per year that the interest is compounded (For example, if interest is compounded monthly, enter 12. If the interest is compounded quarterly, enter 4.) The number of years the account will be left to earn interest. Once the input data has been entered, the program should calculate and display the amount of money that will be in the account after the specified number of years.
Computers and Technology
1 answer:
Tanzania [10]3 years ago
3 0

Answer:

Python code is given below

Explanation:

#This program will calculate compound interest earn by the account after a specified number of years

def main():

   #Asking the user for input

   principal = float(input("Enter the amount of principal amount to be deposited: "))

   rate = float(input("Enter annual interest rate paid by the account: "))

   num = int(input("Enter the number of times per year that the interest is compunded: "))

   years = float(input("Enter the number of years the account will be left to earn interest: "))

   

   #Calculating the balance of the account after a specified number of years

   amount = principal*(1+(rate*.01)/num)**(num*years)

   #Printing result

   print("The amount of money will be in the account after ", years, "years:", round(amount,2))

main()          #calling main() function

You might be interested in
A state government is attempting to reduce the digital divide. Which of the following activities has the greatest potential to c
Sveta_85 [38]

Answer:

The correct answer is

Working with technology companies to offer computing devices at discounted prices to individuals with reduced incomes

Explanation:

As per the question, state government is trying to reduce the digital divide which primarily exists because low income people do not have access to the digital devices. Hence, any step taken to help the low income people to get the digital device will be the best strategy of government to reduce the digital divide.

Thus, the correct answer is Working with technology companies to offer computing devices at discounted prices to individuals with reduced incomes

7 0
3 years ago
The source ip address is 164.109.28.3 subnet mask of 255.255.128.0 network address is
Sergeu [11.5K]
164.109.0.0/17




-------------------------------------------
6 0
3 years ago
Secondary sources<br> information gathered from primary sources.
sergeinik [125]

Answer:

what

Explanation:

8 0
3 years ago
Read 2 more answers
Keep a log of the different types of communication activities in which you engage during the rest of the day. Categorize each ac
baherus [9]

There are 4 different types of communication and I can share my experience by helping you out to solve the assignment.

Explanation:

1. Verbal Communication:

  • Communication with voice
  • Provides active listening
  • Body language is equally important.

2. Non-Verbal:

  • Body language is the most important
  • Communicating without using the words

3. Visual communication:

  • Listening contents through photos and videos

4. Written communication:

  • Serves as record
  • Does not require tone

So in day today aspect we come across almost all type of communication. To answer the discussed question

1. Did the variety of communication surprised you?

I would say yes. I can say unknowingly I have experienced various types.

2. Did you find that your were more involved in one type of communication?

I would say yes. People may like communication type depending on their interest and skill set. So according to me even I have involved in my life with one set of communication and I am trying to use it more.

3. Which one(s) is/are most involved?

So it differs from people to people. I like verbal communication, because I am good at speaking with good tone and voice. Also, I am attracted towards visual communication because one picture will talk more than what an essay would communicate.

6 0
3 years ago
Carrie is looking at the Form Properties Sheet. Which tab will control how the data is displayed and the data source it is bound
Lemur [1.5K]
The Answer is: Data


Hope this help
8 0
3 years ago
Other questions:
  • Explain what might happen if two stations are accidentally assigned the same hardware address?
    15·1 answer
  • When you boot up a computer and hear a single beep, but the screen is blank, what can you assume is the source of the problem?
    11·2 answers
  • Which of the following is considered information?
    6·2 answers
  • Which of the following is a malicious program that can replicate and spread from computer to computer?
    13·2 answers
  • In Alphatech Systems, email software screens incoming messages by organizing them into mailboxes and identifying junk mail. As a
    13·1 answer
  • Why are specification for food processing tool,equipmentand untensils necessary?​
    8·1 answer
  • _____ should be used to create a project schedule.
    14·1 answer
  • Midday is a good time to take a portrait outside.<br> true or false?
    8·1 answer
  • You use a Windows desktop system to edit and produce audio files. Your system has two hard disks installed. Your applications ar
    10·1 answer
  • Which type of relationship is responsible for teaching you values and how to communicate?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!