python Write a function that computes a future investment value at a given interest rate for a specified number of years. The future investment is determined using the formula in Programming Exercise 2.19 in Chapter 2 Programming Exercise from the Book.

Answers

Answer 1
Answer:

Answer:

def future_investment_value(investment, monthly_interest_rate, years):

  print("Years\tFuture Value")

  print("- - - - - - - - - - -")

  for i in range(1, years+1):

      future_value = investment * ((1 + monthly_interest_rate) ** (12 * i))

      print(i, "\t\t", format(future_value, ".2f"))

investment = float(input("Enter the invesment amount: "))

interest = float(input("Enter the annual interest rate: "))

year = int(input("Enter the year: "))

future_investment_value(investment, interest/1200, year)

Explanation:

Inside the function:

- In the for loop that iterates through the years, calculate the future value using the formula and print the results

Then:

- Ask the user for the investment, annual interest rate, and year

- Call the function with the given inputs


Related Questions

1. What are the advantages and disadvantages of technology in communication?
If you need speeds of 16 Mbps between two corporate sites in the United States, you would need a ________ leased line. T1 T3 OC3 None of these
PLEASE HELP!!!For this activity, you will create two designs for the same project. For example, you might choose to create a CD cover for your favorite band’s newest release, or you might want to design a menu for the local deli. No matter what you decide for your subject matter, the two designs must involve different media. One of these media will be an image-editing program, such as Inkscape. You will learn more about the basic tools available in Inkscape later in this lesson. The two designs should incorporate different techniques. For example, you might make one design abstract, while making the other more realistic. Be sure to save both of your designs. Scan or take a picture of the design that wasn’t created in an image-editing program. You will submit this item later in this lesson as your portfolio item. Select the link to access the Techniques Activity Rubric.
Write an algorithm which gets a number N, and prints all the natural numbers less than or equal N. 3.
Outline 3 computer system problem that could harm people and propose the way avoid the problem​

Which key do programmers use to end running programs?Num Lock
Scroll Lock
Pause/Break
Backspace

Answers

I would answer backspace because i had some experience with that
Pause/Break   i would say

If you pay a subscription fee to use an application via the internet rather than purchasing the software outright, the app is called a/an -- application.

Answers

Answer:

Software as a Service (SaaS)

Explanation:

Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.

Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.

Cloud computing comprises of three (3) service models and these are;

1. Platform as a Service (PaaS).

2. Infrastructure as a Service (IaaS).

3. Software as a Service (SaaS).

Software as a Service (SaaS) can be defined as a cloud computing delivery model which involves the process of making licensed softwares available over the internet for end users on a subscription basis through a third-party or by centrally hosting it.

Hence, Software as a Service (SaaS) is an example of a cloud computing environment that provides users with a web based email service. Therefore, if you pay a subscription fee to use an application via the internet rather than purchasing the software outright, the app is called a Software as a Service (SaaS) application.

Some examples of SaaS applications are Salesforce, Google apps, Bigcommerce, Dropbox, Slack etc.

What is the term used to describe participants starting a study but then leaving it? o abandonment o drop outs o margin of error O mortality

Answers

Answer: Drop out

Explanation: Drop out is the situation that is defined as abandoning a study  in between after taking up or participating in it.This is considered as the act of withdrawal which can happen due to personal reason, lost interest in the course/study,etc.

Other options are incorrect because abandonment is leaving something before taking up or during the course, margin of error is used for defining the error that occurs in the sample survey and mortality signifies temporality or death.Thus, the correct option is drop out.

Convert the binary number into a hexadecimal number.

Answers

Explanation:

A binary number is converted to hexadecimal number by making a group of 4 bits from the binary number given.Start making the group from Least Significant Bit (LSB) and start making group of 4 to Most Significant (MSB) or move in outward direction.If the there are less than 4 bits in last group then add corresponding zeroes to the front and find the corresponding hexadecimal number according to the 4 bits.For example:-

for this binary number 100111001011011.

100  11100101  1011

There is one bits less in the last group so add 1 zero(0) to it.

0100  1110  0101  1011

  4        E        5        B

100111001011011 = 4E5B

101011.1010

0010   1011  .   1010

  2          B           A

=2B.A

What is the earliest version of the present day Internet?

Answers

Answer:

ARPANET is the earliest version of the present-day Internet.

Explanation:

ARPANET is the type of network that is used before the Internet in the year 1967. It was advanced in the control of U.S ARPA(Advanced Research Projects Agency). After the year of 1980, it was given to the military network for the protection of the data network but after all, it is for the small area network and the Internet is the World Wide network.

The sql standard prescribes three different types of __________ operations: left, right, and full.

Answers

The sql standard prescribes three different types of JOIN operations: left, right, and full.
 
The LEFT [OUTER] JOIN yields all rows with matching values in the join columns, plus all ofthe unmatched rows from thelefttable.
The RIGHT [OUTER] JOIN yields all rows with matching values in the join columns, plus all ofthe unmatched rows from therighttable.
 The FULL [OUTER] JOIN yields all rows with matching values in the join columns, plus all theunmatched rows from both tables named in the FROM clause.