Investment strategy your knowledge of algorithms

Assignment Help Data Structure & Algorithms
Reference no: EM13164633

Planning an investment strategy your knowledge of algorithms helps you obtain an exciting job with the acme computer company, along with a $10,000 signing bonus. you decide to invest this money with the goal of maximizing your return at the end of 10 years. you decide to use the amalgamated investment company to manage your investments. amalgamated investments requires you to observe the following rules. it offers n different investments, numbered 1 through n. in each year j , investment i provides a return rate of rij . in other words, if you invest d dollars in investment i in year j , then at the end of year j , you have drij dollars. the return rates are guaranteed, that is, you are given all the return rates for the next 10 years for each investment. you make investment decisions only once per year. at the end of each year, you can leave the money made in the previous year in the same investments, or you can shift money to other investments, by either shifting money between existing investments or moving money to a new investement. if you do not move your money between two consecutive years, you pay a fee of f1 dollars, whereas if you switch your money, you pay a fee of f2 dollars, where f2 gt f1.

a. the problem, as stated, allows you to invest your money inmultiple investments in each year. prove that there exists an optimal investment strategy that, in each year, puts all the money into a single investment. (recall that an optimal investment strategy maximizes the amount of money after 10 years and is not concerned with any other objectives, such as minimizing risk.)

b. prove that the problem of planning your optimal investment strategy exhibits optimal substructure.

c. design an algorithm that plans your optimal investment strategy. what is the running time of your algorithm?

d. suppose that amalgamated investments imposed the additional restriction that, at any point, you can have no more than $15,000 in any one investment. show that the problem of maximizing your income at the end of 10 years no longer exhibits optimal substructure.

Reference no: EM13164633

Questions Cloud

How many bits are required in the address bus : You have been assigned to design a 8M x 32 bit memory board. You may use only 256K x 8 bit RAM chips with full parallel addressing.a) How many bits are required in the Address Bus of the whole board?
Design a phonecall class that holds a phone number : Design a PhoneCall class that holds a phone number to which a call is placed, the length of the call in minutes, and the rate charged per minute. Overload extraction and insertion operators for the class.
Design a class named checkingaccount : Design a class named CheckingAccount that holds a checking account number, name of the account holder, and balance.include methods to set values for each data field and a method that displays all the account information. Create the class diagram a..
Determine the highest bit rate possible for a circuit : 1. Determine the number of conditions possible for a binary code
Investment strategy your knowledge of algorithms : Planning an investment strategy your knowledge of algorithms helps you obtain an exciting job with the acme computer company, along with a $10,000 signing bonus. you decide to invest this money with the goal of maximizing your return at the end of..
Write program using a switch statement that display polygon : Write a program using a switch statement that displays the name of a polygon with sides between 3 and 12 depending on the number entered by the user
On any given execution your program : On any given execution your program will produce just one version of the figure. However, you should refer to the class constant throughout your code, so that by simply changing your constant's value and recompiling, your program would produce a f..
When the jmpc field in the microinstruction is enabled : Assume that when the JMPC field in the microinstruction is enabled (set), MBR is ORed with NEXT_ADDRESS to determine the address of the next microinstruction to be executed
Write a program that prompts for and accepts input of test : write a program that prompts for and accepts input of test ggrades that are integers between 0 and 100. For each numerical test grade,  program should display a corresponding letter grade

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Refresh address counter

A microcomputer memory is built from 64K X 1 DRAM, with DRAM cell array organized into 256 rows. Each row requires being refreshed at least once every four ms, strictly on a periodic basis.

  Database over electronic files to store data

Discuss the benefits of a database over electronic files to store data determine what kinds of database products are used in your company?

  Creating a method find ranks in java

Create a method findRanks in Java that accepts an unsorted array of integers vals, and starting and ending rank start and end, numbering ranks from 0,

  E is said to be a bottleneck edge if increasing

In a flow network G(V,E) with source s and sink t, an edge e in E is said to be a bottleneck edge if increasing the capacity of the edge e increases the maximum flow value in the network.

  Sharing a large computer file

Assume you are sitting at desk at office and using your laptop computer. The boss calls an emergency meeting for you and many colleagues, and asks everyone to bring his or her laptop computer.

  Diameter bounded minimum spanning tree of graph by prim-s

Modify Prim's or Kruskal's algorithm to determine diameter bounded minimum spanning tree of complete graph. A diameter bounded minimum spanning tree is spanning tree.

  Explain how to modify knuth-morris-pratt algorithm

Explain how to modify Knuth-Morris-Pratt algorithm to support patterns with these wild cards, and analyze modified algorithm. Your algorithm must find first substring in text which matches the pattern.

  Creating dataflow diagram

Think about the level of detail involved with creating a dataflow diagram, why should the narrative be prepared? Explain why do we need the questionnaire?

  Create a program to calculate each income bracket

People from 3-different income levels, A, B, and C, rated each of 2-different items with a number 0 through 10. Create a file in which each line contains the income level and item rankings for one respondent.

  Sorting arrays of name in descending order

Then sort arrays so that records are in descending order by purchase amount for month. Output lists the names of the top five customers.

  Create the algorithm to read information through file

Create the algorithm which will read through file and compute numbers of married men, single men, married women and single women.

  Explain algorithm which gives initial infection of computer

Explain an O(m+n) algorithm which, given an initial infection of a computer Ca at time t determines for each other computer the earliest time at which it can become infected.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd