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
Do all websites use the same coding to create?
Sonbull [250]

Answer:

yes.

Explanation:

because all websites use coding

6 0
3 years ago
Which of the following is NOT a line used on blueprints?
jonny [76]

Answer: Photo lines

Explanation: made more sense

4 0
3 years ago
A coal fired power plant geneartes 2.4 lbs. of CO2 per kWh. A lighting system consumes 300,000kWh per year. A corporation is con
Serjik [45]

Answer:

The perceived economic impact of CO2 generated per year by lighting sstem is $8164.67.

Explanation:

The CO2 requirement for the plant is:

Amount of CO2 per year = (2.4 lb / KWh)(300,000 KWh)

Amount of CO2 per year = (720000 lb)(1 ton/ 2204.62 lb)

Amount of CO2 per year = 326.59 ton

The perceived economic impact of CO2 generated per year will then be:

Economic Impact = ($25 / ton)(326.59 ton)

<u>Economic Impact = $8164.67</u>

7 0
3 years ago
If a lever operates at a mechanical disadvantage, it means that the ________.
alekssr [168]

Answer:

The correct answer is option 'B': Load is far from fulcrum and the effort is applied near the fulcrum

Explanation:

A lever works on the principle of balancing of torques. The torque about the fulcrum by the load should be equal to the torque by the applied effort. Since we know that the torque is proportional to both the force and the distance it is applied from the distance from the axis of rotation. A lever is used when we need to lift a heavy load by utilizing this effect of the lever arm.

A mechanical disadvantage occurs when we are not able to lift the weight easily due to the fact we apply effort near the fulcrum.

4 0
3 years ago
Read 2 more answers
Should aircraft wings have infinite stiffness?
Colt1911 [192]

Answer:

No, they need to be somewhat flexible so that forces such as turbulance don't shear the wing off.

3 0
3 years ago
Read 2 more answers
Other questions:
  • What gage pressure does a skin diver experience when they dive to 35 ft in the ocean with a water temperature of 55 °F? Report y
    9·1 answer
  • Why do conditional statements always have only two outcomes?
    8·1 answer
  • 6
    5·1 answer
  • Design an Armstrong indirect FM modulator to generate an FM signal with a carrier frequency 98.1 MHz and a frequency deviation △
    15·1 answer
  • Which word from the passage best explains what the web in the passage symbolizes
    10·1 answer
  • The production of carbon dioxide makes it unwise and unsafe to operate a tractor or any motor vehicle inside enclosed spaces suc
    13·1 answer
  • According to the article, what is one reason why commercial carmakers aim to develop driverless technology?
    9·1 answer
  • What is mechanical engineer​
    14·1 answer
  • Why does my delivery date keep changing on my tesla model 3
    13·1 answer
  • A student used a 500-ml graduated cylinder to measure the volume of water in a 1-cup measure. three trials of the measurement ga
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!