th and fifth project that needs only $200 each. By establishing these four projects apart, the investor will have $200*4 (profit) +$200 (initial basic) = $1000. This amount of money will enable the establishment the 3rd project that needs $500 of investment to gain $200 of profit. Finally, to calculate the overall profit, you have collected $1200, where $200 of them are the initial basic and hence the profit is $1200 - $200 = $1000. In the second example, your initial amount of money is $150, which enable you to invest in the 3rd project only. By doing so, your budget will increases to $200 and hence be able to invest in the 1st project to again increase your budget to $290. However, this is not enough to invest in the 3rd project. Finally, you collected $290, where $150 of them are the initial basic and hence the profit is $290 - $150 = $140.
Explanation In the first example, your initial amount of money is $200, which enable you to invest in the first, second, fourth and fifth project that needs only $200 each. By establishing these four projects apart, the investor will have $200*4 (profit) +$200 (initial basic) = $1000. This amount of money will enable the establishment the 3rd project that needs $500 of investment to gain $200 of profit. Finally, to calculate the overall profit, you have collected $1200, where $200 of them are the initial basic and hence the profit is $1200 - $200 = $1000.
In the second example, your initial amount of money is $150, which enable you to invest in the 3rd project only. By doing so, your budget will increases to $200 and hence be able to invest in the 1st project to again increase your budget to $290. However, this is not enough to invest in the 3rd project. Finally, you collected $290, where $150 of them are the initial basic and hence the profit is $290 - $150 = $140.
""" I want the solution in python """
a) Design a brute-force
b) Design a more efficient algorithm to do the same task with less complexity
and analyse the complexity of your solution. [Important instruction to be followed: Create an arbitrary input of at least 5 projects and use it to provide full explanation of how your proposed algorithm should work step by
step]
c) Develop a python code to implement your efficient algorithm. [The marks depend on the correctness of the code, indentation, comments, test-case]
d) Prepare a brief report (250 words) comparing the two algorithms
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Since the
I want at least the efficiency of writing code with a screenshot in Python
d) Prepare a brief report (250 words) comparing the two algorithms
Please solve all the steps well for the seventh time I sent this question and you did not solve it well
I want Python code with screenshots and comparison. I want to solve a paragraph a,b.c.d (250 words)
a) Design a brute-force
b) Design a more efficient algorithm to do the same task with less complexity
and analyse the complexity of your solution. [Important instruction to be followed: Create an arbitrary input of at least 5 projects and use it to provide full explanation of how your proposed algorithm should work step by
step]
c) Develop a python code to implement your efficient algorithm. [The marks depend on the correctness of the code, indentation, comments, test-case]
d) Prepare a brief report (250 words) comparing the two algorithms
I want to code in Python the least efficient and the most efficient with screenshots
I also want the psudocode