subject

#Python with def and loops Four investors deposited, each of them, an initial amount of 1050, 2400, 1300, and 3000 euros in a bank. In this strange bank, the initial value is increased every month by 1.5, 3., 1.7 and 3.5 euros, respectively. Note: this is not an usual interest rate. (Pay attention: as an example, in the first month after the first deposit (month 2) the first investor will have 1051,50 euros; in month 3 1053,00 euros... etc). However, every time a new deposit is made, the monthly interest is doubled. The new interest starts to be applied in the next month, after the deposit.

In this exercise, we will identify our months by numbers, being 1 the month of the first deposit.

During the 6 first months, investors are not allowed to make any new deposit. After that, they make a second deposit, corresponding to an amount of half the initial quantity. None of the four investors make the second deposit in the same month, but instead, but the 4 deposits occurred in months 9, 10, 13 and 14, respectively for the first, second, third and fourth investor. However, in month 20 all 4 investors made a third deposit, corresponding to an amount of 1/3 the quantity they had in month 7.

Write a code denoted investors. py that performs the following tasks:

calculate the amount of money each of the investors have month by month
plot the curve of money (y-axis) versus month (x-axis) for the third investor, for the 24 first months of investment.
print a report for all 4 investors. The print report should contain the following statements:
the name of the investor
the initial investment and the corresponding interest
the month each investor made their second deposit
the amount of money each of them has after the first 15 months, that is in the month 16.

The requirements of the code are the following:

Define a function denoted montlystatement to calculate the amount of money a given investor has per month. The arguments of that function must be (in this order): the initial value, the monthly interest, the month of the second deposit and the month for which the money is being calculated.
Suggestion: use lists to handle the names of the investors (make up names to identify them), the initial investment values and the monthly profit. Name these three lists as investor, money0 and fixinterest respectively.
Use the function montlystatement to fill the vector or array used to make a plot displaying the montly amount of money of the investor.
Suggestion: define a second function denoted plotmonthstatement make this plot.
The print statements for the investors should read like
"Investor (name) : initial investment xxx, second deposit in month xxx, balance in month 15: xxx"
where of course the names are decided by you but the "xxx" values should be calculated.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
What elements related to the release and success of the nes console do you see in modern console releases? what elements are no longer relevant to modern console gaming?
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
Which best explains why a digital leader would join a society specializing in technology
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
You know the right answer?
#Python with def and loops Four investors deposited, each of them, an initial amount of 1050, 2400...
Questions
question
Mathematics, 02.07.2019 19:30
Questions on the website: 13722359