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
The drag coefficient of a vehicle increases when its windows are rolled down or its sunroof is opened. A sports car has a fronta
klio [65]

Answer:

Explanation:

The additional power consumption of the car when v :

35 mi/h = 0.464hp

70 mi/h = 3.71hp.

For the step by step explanation of how we arrived at these answers, please go through the attached files.

3 0
3 years ago
Read 2 more answers
What are the controlling LRFD load combinations for dead and floor live load?
yuradex [85]

Answer:

1) 1.4(D + F)

2) 1.2(D + F + T) + 1.6(L + H) + 0.5(Lr or S or R)

3) 1.2D + 1.6(Lr or S or R) + ((0.5 or 1.0)*L or 0.8W)

4) 1.2D + 1.6W + (0.5 or 1.0)*L + 0.5(Lr or S or R)

5) 1.2D + 1.0E + (0.5 or 1.0)*L + 0.2S

6) 0.9D + 1.6W + 1.6H

7) 0.9D + 1.0E + 1.6H

Explanation:

Load and Resistance Factor Design

there are 7 basic load combination of LRFD that is

1) 1.4(D + F)

2) 1.2(D + F + T) + 1.6(L + H) + 0.5(Lr or S or R)

3) 1.2D + 1.6(Lr or S or R) + ((0.5 or 1.0)*L or 0.8W)

4) 1.2D + 1.6W + (0.5 or 1.0)*L + 0.5(Lr or S or R)

5) 1.2D + 1.0E + (0.5 or 1.0)*L + 0.2S

6) 0.9D + 1.6W + 1.6H

7) 0.9D + 1.0E + 1.6H

and

here load factor for L given ( * ) mean it is  permitted = 0.5 for occupancies when live load is less than or equal to 100 psf

here

D is dead load and L is live load

E is earth quake load and S is snow load

W is wind load and R is rain load

Lr is roof live load

3 0
3 years ago
Express the following quantities to the nearest standard prefix using no more than three digits.(a) 20,000,000 Hz(b) 1025 W(c) 0
bija089 [108]

Answer:

(a) 20 MHz

(b) 1.025 KW

(c) 3.33 ns

(d) 33 pF

Explanation:

(a) 20,000,000 Hz = 20 x 10^6 Hz = 20 Mega Hz = <u>20 MHz</u>

(b) 1025 W = 1.025 x 10^3 W = 1.025 Kilo W = <u>1.025 KW</u>

(c) 0.333 x 10^(-8) s = 3.33 x 10^(-9) s = 3.33 nano s = <u>3.33 ns</u>

(d) 33 x10^(-12)F = 33 pico F = <u>33 pF</u>

8 0
3 years ago
What are the chemical properties of metals
Grace [21]

Answer:

  • The density of metals are usually high
  • They are great conductors of heat
  • They are malleable and ductile

8 0
3 years ago
Which of the following is most characteristic of OSHA's relationship with professional trade organizations in residential constr
geniusboy [140]

Answer:

its beneficial

Explanation:

took the test

3 0
3 years ago
Other questions:
  • Technician A says that you don’t need to use an exhaust extraction system when working on vehicles equipped with a catalytic con
    9·1 answer
  • What kind of energy transformation happens when a boy uses energy from a sandwich to run a race​
    11·2 answers
  • What are the basic parts of a radio system
    15·1 answer
  • Question 64 (1 point)
    9·1 answer
  • Which of the following tells the computer wha to do
    12·1 answer
  • A closed, rigid tank is filled with a gas modeled as an ideal gas, initially at 27°C and gauge pressure of 300 kPa. The gas is h
    9·1 answer
  • If the driver gear has 5 teeth and the driven gear has 10 teeth,what is the gear ratio?​
    13·2 answers
  • State 3 advantages and 3 disadvantages of unit rate contract​
    10·1 answer
  • Which of the following explains why trucking is the most widely used transportation method?
    14·1 answer
  • What additive keeps engines clean by preventing contaminants and deposits from collecting on surfaces?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!