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
andrew-mc [135]
3 years ago
10

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 account earn compound interest for a certain number of years. The formula for calculating the balance of the account after a specified number of years is: A-P(1+m)nt The terms in the fomula are: o A is the amount of money in the account after the specified number of years. o P is the principal amount that was originally deposited into the account. o ris the annual interest rate. o n is the number of times per year that the interest is compounded. o t is the specified number of years. Write a program that makes the calculation for you. The program should ask the user to input the following: o The amount of principal originally deposited into the account o The annual interest rate paid by the account o The number of times per year that the interest is compounded (For example, if interest is compounded monthly, enter 12. If interest is compounded quarterly, enter 4.) o The number of years the account will be left to eam 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. 162 Note: The user should enter the interest rate as a percentage. For example, 2 percent would be entered as 2, not as.02. The program will then have to divide the input by 100 to move the decimal point to the correct position.
Computers and Technology
1 answer:
Talja [164]3 years ago
8 0

Answer:

def main():

   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: "))

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

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

main()        

Explanation:

  • Calculating the balance of the account after a specified number of years  with the help of the formula:
  • amount = principal*(1+(rate*.01)/num)**(num*years)  
You might be interested in
Who made computer ? Which year?
myrzilka [38]

Answer:

The first computer that resembled the modern machines we see today was invented by Charles Babbage between 1833 and 1871.

8 0
2 years ago
Read 2 more answers
Криптографический метод защиты информации?
Andru [333]

Answer:

the answer is green pineapples

5 0
3 years ago
You want to use Windows Update to update other Microsoft applications such as Office. Which of the following is true? Choose the
Aloiza [94]
I’m not 100% but I’m gonna say
A. No, you must use Office Update instead.
8 0
2 years ago
Read 2 more answers
Which standard is used to configure digital signature settings for e-mail and contacts from the corporate address book, dependin
Leno4ka [110]

Answer:

The correct answer for the given question is "s/mime standard".

Explanation:

The s/mime standard is a secure multipurpose standard that is used for the encryption of the public key. This standard provides the security and it is used in the configuring digital signature for the setting of emails.

The main advantage of s/mime standard is to provide the linear way to send and received the data of MIME. This standard id used to protect the emails from unwanted access.

3 0
3 years ago
If you need to set up direct deposit, which information from your check would you likely need?
ch4aika [34]
<span>This question has multiple choices to choose from;
a. Check Number
b. Memo line
c. Numerical amount
d. Routing Number.

The answer is (D) Routing Number.

Only the routing number in the choices above will provide the information needed. A routing number is a 9 digit code that is based on the U.S.A bank location where your account was initially opened. It identifies the location your account was opened. Often, you will be asked for your routing number or the RTN, as is commonly known, when making payments by phone or online. Bank’s routing numbers are sensitive information and should be kept in secrecy.
Other details that you will be required to provide are bank account number, type of account, bank address, name of account holders listed on the account, and other required information.</span>
4 0
3 years ago
Read 2 more answers
Other questions:
  • Warning or pop-up that convinces a user that his or her computer or mobile device is infected with a virus or other problem that
    10·1 answer
  • Write a recursive method to compute the following series: 1 + 1/2 + 1/3 + 1/i ... Write a test program that displays m(i) for i
    14·1 answer
  • Forwarded events can only be recorded when systems ADMINISTRATORS have de-established an event subscription. TRUE or FALSE
    15·1 answer
  • Select the correct answer.
    12·1 answer
  • A network that typically reaches a few meters, such as up to 10 meters (33 feet), and consists of personal devices such as mobil
    14·1 answer
  • John’s grandparents make wine for special occasions. They add a pinch of yeast to crushed grapes. Over time, this action release
    15·2 answers
  • How to make a harmonic mean algorithm in bash Linux?
    15·1 answer
  • Which of the following is not a type of degree of freedom?
    11·1 answer
  • What is your F O R T N I T E name
    6·2 answers
  • What plugs into this?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!