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
Neporo4naja [7]
3 years ago
6

Let r be a bank's interest rate in percent per year (APR). An initial amount of money P, also called as principal, will mature t

o an amount of P(1+r/100)^n after n years have passed. Write a Python program that takes P, r, and n as inputs from the user and provides as output the matured value after n years. For example if the user provides P, r, and n as 1000 0.95 and 5 .Your program must apply the interest-rate formula and provide 1048.4111145526908 as the output.
Engineering
1 answer:
Liono4ka [1.6K]3 years ago
7 0

Answer:

See explanation below.

Explanation:

For this case the program needs to take the inputs as P,r and n and the output would be as A and printed on the system. The code is:

# Inputs

P = float(input("Enter the present value : "))  

r = float(input("Enter your APR : "))  

n = float(input("Enter the number of years : ") )

# Output

A = P*(1 +(r/100))**n

print("The future values is:", A)  

And the result obtained is:

Enter the present value : 1000

Enter your APR : 0.95

Enter the number of years : 5

The future values is: 1048.4111145526908

You might be interested in
What is the differences between stack and queue?
Montano1993 [528]

Answer:

A stack is an ordered list of elements where all insertions and deletions are made at the same end, whereas a queue is exactly the opposite of a stack.

Explanation:

7 0
3 years ago
4. What are these parts commonly called?
patriot [66]

These parts are commonly called carburetor emulsion tubes. These tubes maintain the air-fuel ratio at different speeds.

The carburetor is a device of the combustion engine power supply system that mixes fuel and air in order to facilitate internal combustion.

The carburetor emulsion tubes are tubes that maintain the air-fuel ratio at different velocities.

These tubes (carburetor emulsion tubes) are small brass cylinders where the metering needle slides into them.

Learn more about carburetors here:

brainly.com/question/4237015

7 0
2 years ago
Hello , how are yall:))))
SVEN [57.7K]

Answer:

eh I'm good hbu?????????

6 0
2 years ago
Read 2 more answers
Do plastic materials have high or low ductility? Explain why.​
Flura [38]
The impact behavior of plastic materials is strongly dependent upon the temperature. At high temperatures, materials are more ductile and have high impact toughness. At low temperatures, some plastics that would be ductile at room temperature become brittle.
3 0
2 years ago
Assume that the water temperature is 10°C and the depth of the settling tank is 3.0 m (9.80 ft). Calculate the theoretical settl
Lelu [443]

Explanation:

See attached file

6 0
3 years ago
Other questions:
  • The development team recently moved a new application into production for the accounting department. After this occurred, the Ch
    6·1 answer
  • A heat engine is coupled with a dynamometer. The length of the load arm is 900 mm. The spring balance reading is 16. Applied wei
    11·1 answer
  • A 3-phase induction motor with 4 poles is being driven at 45 Hz and is running in its normal operating range. When connected to
    12·1 answer
  • Water drains at a constant rate through a saturated soil column with a diameter of 1.5 feet and a height of 3 feet. The hydrauli
    11·1 answer
  • Estimate the uncertainty in a 22 m/sec air velocity measurement using a Pitot tube at 20C. Assume the atmospheric pressure is 1
    7·1 answer
  • 16. Driverless cars have already , and they look so cool.
    10·2 answers
  • Multiple Choice
    7·1 answer
  • The design-bid-build model is prons to abuse because separation of phases facilitates the hiding of corrupt practices.
    7·2 answers
  • Hey any one ride dirtbikes here
    5·2 answers
  • 8. If you push a 2000 N weight up a ramp with 400 N of force and you raise the weight 1 meter,
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!