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
guapka [62]
3 years ago
8

(Financial application: compound value) Suppose you save $100 each month into a savings account with the annual interest rate 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 and displays the account value after the sixth month. (In Exercise 5.30, you will use a loop to simplify the code and display the account value for any month.)
Computers and Technology
1 answer:
allochka39001 [22]3 years ago
7 0

Answer:

Follow the code or function below...

Do not forget the saving amount, and initialise the balance with that amount. Inside the loop, work out and add the interest and then add the saving amount for the next month.

Explanation:

inicial = float(eval(input('Enter the montly saving amount: ')))

x = (1 + 0.00417)

month_one = inicial * x

month_two = (inicial + month_one) * x

month_three = (inicial + month_two) * x

month_four = (inicial + month_three) * x

month_five = (inicial + month_four) * x

month_six = (inicial + month_five) * x

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

Don't forget the saving amount, and initialise 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
In order to organize your work effectively on the computer, where is the best place to save it?
Morgarella [4.7K]
Your answer is -

B. Folder Is the best place to save it
8 0
3 years ago
Read 2 more answers
The user cannot use a computer system without.................... software<br><br>​
zheka24 [161]

Answer:

the user cannot use a computer system without hardware and software

4 0
3 years ago
Read 2 more answers
Difference between website and web server
Volgvan

Answer:

a web server is a computer than runs websites

7 0
3 years ago
Read 2 more answers
Place the stages of teamwork in the correct order and describe what occurs in each.
Phantasy [73]
Pretty sure we need a picture
5 0
4 years ago
A device _____ is a program that must be installed in order for the peripheral device to be ableto work with the computer or lap
Leona [35]
Driver would be the answer
8 0
2 years ago
Other questions:
  • By applying styles formats are being applied ?
    14·2 answers
  • A game’s ______ is what contains its directions and calculations; some refer to it as the “engine” that drives the game.
    12·1 answer
  • Two technicians are discussing the voltage measurements taken on the circuit below: V1 = 12Volts; V2 = 12Volts; V3 = 0Volts; V4
    11·1 answer
  • What are 7 good facts on Computer Viruses?
    10·1 answer
  • You view a portion of a document on the screen through a
    14·1 answer
  • . What is the relationship between frequency, wavelength and speed of a wave?
    15·1 answer
  • A(n) ________ software installation copies all the most commonly used files to your computer's hard drive.
    10·1 answer
  • Digital on a smart phone means the camera is actually zooming in on the photo itself not the subject that you are shooting true
    8·1 answer
  • How can knowing internal and external parts of computer help me
    12·1 answer
  • You can put ______ on your phone.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!