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
As temperature decreases a batteries availability power what
SSSSS [86.1K]
The answer is increases because when something like that decreases it’s always decreasing that probly makes no sense Imao but it’s increases
7 0
3 years ago
A gas cylinder system is composed of a cylinder fitted with a piston on which small weights are placed. Given that the initial p
Reika [66]

Answer:

the answer is going to be a I think

4 0
4 years ago
A water tank is completely filled with liquid waterat 20°C.The tank material is such that it can withstand tensioncaused by a vo
Xelga [282]

Answer:

Highest temperature rise allowable = ΔT = 21.22°C

Highest allowable temperature = ΔT + 20 = 41.22°C

Explanation:

From literature, the coefficient of volume expansion of water between 20°C and 50°C = β = (0.377 × 10⁻³) K⁻¹

Volume expansivity is given by

ΔV = V β ΔT

ΔV = Change in volume

V = initial volume

β = Coefficient of volume expansion = (0.377 × 10⁻³) K⁻¹ = 0.000377 K⁻¹

ΔT = Change in temperature = ?

It is given in the question that maximum volume increase the tank can withstand is

(ΔV/V) × 100% = 0.8%

(ΔV/V) = 0.008

V β ΔT = ΔV

β ΔT = (ΔV/V)

β ΔT = 0.008

ΔT = (0.008/β)

ΔT = (0.008/0.000377)

ΔT = 21.22°C

Highest temperature rise allowable = ΔT = 21.22°C

Highest allowable temperature = ΔT + 20 = 41.22°C

Hope this Helps

5 0
4 years ago
You are an engineer in an electric-generation station. You know that the flames in the boiler reach a temperature of 1200 K and
olga nikolaevna [1]

Answer:

<em>The maximum efficiency the plant will ever achieve is 75%</em>

<em>Explanation:</em>

From the question given, we recall the following:

<em>Th flames in the boiler reaches a temperature of = 1200K</em>

<em>the cooling water is = 300K</em>

<em>The maximum efficiency the plant will achieve is defined as:</em>

Let nmax = 1 - Tmin /Tmax

Where,

Tmin = Minimum Temperature in plants

Tmax = Maximum Temperature in plants

The temperature of the cooling water  = Tmin = 300K

The temperature of the flames in boiler = Tmax = 1200k=K

The maximum efficiency becomes:

nmax =  1 - Tmin /Tmax

nmax =  1 - 300 /1200

nmax =  1-1/4 =0.75

nmax =  75%

5 0
4 years ago
The 240-ft structure is used to provide various support services to launch vehicles prior to liftoff. In a test, a 12-ton weight
alina1380 [7]

Answer:

hello your question lacks the required question attached below is the missing diagram

Forces in GJ = -4.4444 i.e. 4.4444 tons

Forces in IG = 15.382 tons ( T )

Explanation:

Forces in GJ = -4.4444 i.e. 4.4444 tons

Forces in IG = 15.382 tons ( T )

attached below is the detailed solution

3 0
3 years ago
Other questions:
  • Air is heated from 50 F to 200 F in a rigid container with a heat transfer of 500 Btu. Assume that the air behaves as an ideal g
    10·1 answer
  • Consider a Mach 4.5 airflow at a pressure of 1.25 atm. We want to slow this flow to a subsonic speed through a system of shock w
    15·1 answer
  • Compare and contrast arch and beam bridges
    13·1 answer
  • Which term refers to the use of a resource that does not cause permanent damage to the environment?
    12·1 answer
  • What is one economic effect of environmental-protection laws?
    7·2 answers
  • A displacement transducer has the following specifications Linearity error ±0.1% of reading, Drift ±0.15%/C of reading, sensitiv
    8·1 answer
  • In no less than one hundred fifty words, explain how microstructures reduce friction within fluid power systems. Mention some of
    8·1 answer
  • 2.(10 pts)A proposed engine cycle employs an ideal gas and consists of the following sequence of transformations; a) Isothermal
    12·1 answer
  • A 20 mm diameter rod made of ductile material with a yield strength of 350 MN/m2 is subjected to a torque of 100 N.m, and a bend
    8·1 answer
  • An exit sign must be:Colored in a way that doesn’t attract attentionIlluminated by a reliable light sourceAt least 3 inches tall
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!