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, 22.06.2019 12:40
The most complicated four letter word
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 23.06.2019 22:00
Technician a says engine assemblies can be mounted longitudinally in a chassis. technician b says engine assemblies can be mounted transversely in a chassis. who is correct?
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
What did i do wrong with this const discord = require('discord.js'); var bot = new discord.client(); const token = 'ntm3mjcxmtu1mjg3ote2ntq2.dyogew.dpfiwfpuifzuzvifop-csuxasnm' const prefix = "! " bot.registry.registergroup('simple', 'simple'); bot.registry.registerdefaults(); bot.registry. + '/commands'); bot.on('message', message => { if(message.content == 'hi! ') { message.channel.send ('@everyone sup, how is @everyone day going'); } if(message.content == 'h3lp') { message.channel.send ('dose not have any commands yet'); } bot.on('ready', function() { console.log("ready") }); bot.login(token);
Answers: 1
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, 19.11.2020 04:00
question
Mathematics, 19.11.2020 04:00
question
Computers and Technology, 19.11.2020 04:10
question
Mathematics, 19.11.2020 04:10
Questions on the website: 13722360