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
Allisa [31]
4 years ago
9

Write a program that calculates and displays the amount ofmoney available in a bank account that initially has $8000 deposited i

n it and that earns interest atthe rate of 2.5 percent a year. Your program should display the amount available at the end of eachyear for a period of 10 years. Use the relationship that the money available at the end of each yearequals the amount of money in the account at the start of the year plus 0.025 times the amountavailable at the start of the year [20 points].
Computers and Technology
1 answer:
Leviafan [203]4 years ago
6 0

Answer:

Written in Python

import math

principal = 8000

rate = 0.025

for i in range(1, 11):

    amount = principal + principal * rate

    principal = amount

    print("Year "+str(i)+": "+str(round(amount,2)))

Explanation:

This line imports math library

import math

This line initializes principal amount to 8000

principal = 8000

This line initializes rate to 0.025

rate = 0.025

The following is an iteration from year 1 to 10

for i in range(1, 11):

    This calculates the amount at the end of the year

    amount = principal + principal * rate

    This calculates the amount at the beginning of the next year

    principal = amount

    This prints the calculated amount

    print("Year "+str(i)+": "+str(round(amount,2)))

You might be interested in
Describe shortly about the following Linux directories and theirpurpose,1. lib2. etc3. Boot4. Root5. home
Bingel [31]

Answer:

 Linux directories and their purposes are:

1) lib - Lib file contained the share object library file which necessary to boots system and this directory contain file module stored in the kernel.

2) etc - etc file is the configuration file that they are local in the machines. When the program run these file are stored in the directories. this can be static and do not executable directory.

3) Boot - Boot file are stored in the directory which required processing of linux boot and such files are included in the linux kernel of the file.

4) Root - Root file are the best user root directory and user cannot view this directories from there account. This file usually contain administrative file system.  

5) Home - Home file contained the user directory and it is the default system of linux. Home directory helps user to enable any network system to access there home directories.

5 0
3 years ago
In what ways do cameras allow us to see the world in ways that we could not with only our eyes?
Grace [21]
Cams always us to see things that happen when we are not there
6 0
3 years ago
Read 2 more answers
A moldboard was a feature and technological development of what device
wlad13 [49]
The moldboard is a curved iron wedge formed by the curved part of a steel plow blade that turns the furrow <span>used to lift and turn the soil.</span><span>
A moldboard was a feature and technological development of the device plow.
</span>It was used in farming for initial cultivation of soil, for preparation for sowing seed or planting to loosen or turn the soil. 
5 0
3 years ago
You should avoid “S” curves in your photographs. True or False?
WINSTONCH [101]

Answer:

The answer to this question is false.

Explanation:

The S-curve is the natural curve of some object. S-curve is a line or path of the image that curves backward and onward horizontally. we can proceed vertically as much similar to the word S. It is exactly like the letter S. It is not a bad thing. So the S curve is not avoiding in the photographs.  

5 0
3 years ago
A student has a ten-year-old desktop computer that she only uses for word processing, but she would like to start using it to pl
wariber [46]

Answer:

She should buy a new one or buy a Gaming PC to upgrade the setup.

Explanation:

6 0
3 years ago
Other questions:
  • So im leavin brainly....goodbye. (❤´艸`❤)
    13·2 answers
  • The __________ is the continuity of control of evidence that makes it possible to account for all that has happened to evidence
    14·2 answers
  • What is the information age?
    12·1 answer
  • An Agile Team decides they want to use pair programming in future Iterations. Where should this be captured? g
    7·1 answer
  • How do i recover a google account that was deleted?
    7·1 answer
  • A user brings a technician a mobile device that has no sound. What should a technician check for first?
    5·1 answer
  • Which keyboard shortcut can you use to copy data from a cell? HURRY UP PLZ RIGHT NOW HURRY.
    5·2 answers
  • Which kind of image is indispensable and needs added text to go with it?
    13·1 answer
  • What is a thread? what resources does it share with other threads in the same process?
    15·1 answer
  • with a ____ the traffic of a given enterprise or group passes transparently through an internet in a way that effectively segreg
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!