Assignment Instructions
Week 4 Assignment

For your assignment complete the following using screenshots, images or diagram of sample products, processes, etc. to illustrate and descriptive texts to address the items below (you may also consult YouTube.com as a source). This is not a research paper; however provide your source(s):

1. Provide a model (not a research paper) of the project management process in application development.
2. Illustrate how they relate.
3. Explain the consequences of not addressing each phase.
Submission Instructions: Upon completion, submit your completed project in this area of the classroom for grading.
Title your Word doc this way:
ENTD411 B001 Win 12
Week 4 Assignment
Last Name, First Name

Assignment Instructions
Instructions:
* Make sure you go to this week’s chapter lesson for more guidance. 

For this assignment, you will create an object class then display its assigned values from the main method of the main class.

Save the code in jGRASP, then save it in c:myjava and run it.

/*******************
  Name:

  Date:

Notes:   
*******************/

class Car
{
add content and comments
public static String accelerate()
{
  return motion;
  }
}

public class CarObject
{
  public static void main(String[] args)
  {
  add content and comments

}
}

Make sure that you include all source codes and the compiled codes into W4_firstname_lastname.zip.

You must leave me a note in the Submitted Text area on how to compile and run your code.

finical analyze: only two to 3 pages
– Do jimmy king and brian rowe have a legal case against Lisa ballentien? why?
– how do you  think the outcry from social media affected the potential for a franchise opportunity for the penguin ?
– if you were King and Rowe, what would you have done differently when establishing the restaurant? rebuilding the penguin brand?
– whose side are you on?
– As an entrepreneur, would you invest in a Penguin franchise? 

1. On a clear day, a group of your friends in the Astronomy club gets together to plan out
the astronomical events theyre going to try observing that night. Well make the
following assumptions about the events.

– There are n events, which for simplicity well assume occur in sequence separated by
exactly one minute each. Thus event j occurs at minute j; if they dont observe this
event at exactly minute j, then they miss out on it.

– The sky is mapped according to a one-dimensional coordinate system (measured in
degrees from some central baseline); event j will be taking place at coordinate dj , for
some integer value dj. The telescope starts at coordinate 0 at minute 0.

– The last event, n, is much more important than the others; so it is required that they
observe event n.

The Astronomy club operates a large telescope that can be used for viewing these events.
Because it is such a complex instrument, it can only move at a rate of one degree per
minute. Thus they do not expect to be able to observe all n events; they just want to
observe as many as possible, limited by the operation of the telescope and the
requirement that event n must be observed. We say that a subset S of the events is
viewable if it is possible to observe each event j S at its appointed time j, and the
telescope has adequate time (moving at its maximum of one degree per minute) to move
between consecutive events in S.

The problem: Given the coordinates of each of the n events, find a viewable subset of
maximum size, subject to the requirement that it should contain event n. Such a solution
will be called optimal.

Example. Suppose the one-dimensional coordinates of the events are as shown here.

Event          1  2  3 4  5  6  7  8  9
Coordinate 1 -4 -1  4  5 -4  6  7 -2

Then the optimal solution is to observe events 1, 3, 6, 9. Note that the telescope has time
to move from one event in this set to the next, even moving at one degree per minute.

Give a dynamic programming algorithm that takes values for the coordinates d1, d2,, dn of the events and returns the size of an optimal solution. Note that you need to:

(1) write the iterative version of the algorithm to find the maximal size.
(2) show the algorithm for tracing the events selected.
(3) give a brief argument of correctness, and
(4) analyze the running time.

2. A complex linear structure is to be assembled out of n smaller pieces. We will think of
each piece as an interval [a; b]. The joining operation takes [a; b] and [b; c] and produces
[a; c]. After joining, each subpart must be tested. Assume that the cost to test [u; v] is
given by f(u; v) > 0.

Different assembly orders potentially have different total testing cost. For example,
suppose that we have three pieces corresponding to intervals [1; 2]; [2; 3]; and [3; 4], and
the cost of testing is given by: f(1; 3) = 3, f(2; 4) = 1, and f(1; 4) = 5. Then assembling the first and second pieces first and then joining them with the third has a total testing cost of f(1; 3) + f(1; 4) = 8, whereas assembling the second and third pieces first and then joining them with the first has a total testing cost of f(2; 4) + f(1; 4) = 6. Therefore, the second assembly order is preferable.

Design an O(n3) algorithm using dynamic programming methodology to find an optimal
(least total testing cost) assembly order. Note that you should:

(1) use iterative implementation for the algorithm to find the optimal cost, and
(2) Show the algorithm for finding the optimal order.
(3) give a brief argument of correctness, and
(4) analyze the running time.

You are to build a windows forms application project. This project deals with keeping track of the different budgets a company allocates to each department. As well as keeping track of all the expenses make of a given budget.

You are going to build 3 classes.
1. Base class Budget
2. Child class HomeBudget
3. Child class BusinessBudget
4. in Form1 you would need a listview and a listbox. The listview is used to display all the budgets
5. the listbox is to display all the expenses of the selected budget from the listview

Building the project
1.    Create the project. Set up the Form1_Design to have a Listview, a listbox
2.    Define a class Budget. This class should have
a.    Private fields: _balance (this is the amount of money available or left in the budget
                        to be spent)
              _budgetCode (every budget has an id code by which to access it.
                        Could be a string or an int.
              _expenseList (List<decimal>) this list will contains all the
                          Transactions that took place. Every time an expenditure occurs it is
                          added to this list and the balance is deducted the expenditure made
b.    Constructor and properties for all the fields
c.    Methods: 
public bool MakePurchase(decimal expenseAmount){}
This method is to get the amount of this expense, decide whether the expense will go through or not, then to reduce the current budget balance by this amount,
and to add this expense amount to the _expenseList.
Return true or false according to the decision made.
public void UpdateBudgetBalance(decimal amount){}
This method is to update the balance by either adding the amount to it or subtracting the amount from it.
The amount is not an expense,it is the amount by which to adjust the budget balance.
you decide on what changes you need to make to this method so that you can use it for adding and subtracting the amount to/from balance
public string GetBudgetInfo(){.}
this method is return a string that contains all the information about this budget.

3.    Define a class BusinessBudget that inherits (polymorphically) from Budget.
a.    This class should define an extra private field _department (String). This is the name of the department this businessBudget is allocated to.
b.    Complete the necessary code in this class to make it a functional child

4.    Define a class HomeBudget that also inherits (polymorphically) from Budget
a.    This class should define an extra private field also  _category (String) this describe where this budget is used for such as: Food, Clothing, Entertainment, etc
b.    Complete the necessary code in this class to make it a functional child
5.    In Form1, Create a single List to hold all the budgets (Business and Home)
Define a method PreloadBudgetList that populate the budgetList with at least 5 budgets of each type.
Define also a method Display that takes a single parameter, which is a List of budgets.
This method is to display all the budgets in the listview. The listview should display:
Type of budget, budget code, budget balance
You could find out what type of budget it is and display whether the Department for the business budget, or the Category for the home budget

6.    Add code to the listview SelectedIndexChanged (when you select an item from the listview), display all the expenses of the selected budget in the listbox

7.    Provide a button remove expense to remove the selected expense (in the listbox) from the selected budget (in the listview). Note that it is not enough to remove from the listbox, it must be removed from the selected budget itself. Redisplay the budgets to see that the expense is gone from the budget.

8.    Provide a button (Add new expense), a label (new expense) and a textbox (txtNewExpense) to add this new expense to the selected budget. Redisplay to see the effect. (make the necessary addition to the Budget class to make this operation possible.)

I want to model the shear wave velocity of a soil using matlab. The outcomes from the programming must result the variations of S-wave velocity versus depth. you can get some soil parameters from the internet to do the simulation. You must send me the reference in the word document ( where you will take your information from). The work must make sense in real engineering world. Conclusion and recommendation, and introduction must be provided. The out come from the work must be discussed properly. After doing the work, extract all results and place it in Ms word and send including the matlab coding. Please make sure to include table and figure in the work plus literature review relating to this topic ( using rayleigh waves to extract the shear wave velocity in the soil deposit) in the work. Include the references.  I want to chat with the engineer that will be doing this work. I want to know as to whether he/she understands what I want to do here.

Base scenario:
Your company plans to purchase a new machine. Its purchase price is estimated at 500.000 . You plan to use the machine for 5 years. After that period you will be able to sell the used machine for 30.000 . During usage you have to bear costs for maintenance and repair that amount to 10.000 in the first year of usage and increase by 10.000 per year afterwards. Using that machine you could avoid purchasing components from external suppliers which currently cost 250.000 per year. You have calculated the NPV as shown in the following table.

Description of sub-tasks (weights might be different in actual THE!):
1. Calculation (40%)
You want to contrast NPV with another measure and decide to calculate the accounting rate of return for the investment. Make necessary assumptions to convert cash flow figures into cost and revenue figures and calculate the average accounting rate of return.

2. Interpretation/explanation (40%)
Is this an attractive investment? Why or why not?
How would you explain NPV and rate of return to decision makers who are not familiar with these indicators?

3. Conceptual question (20%)
Which non-monetary factors might influence your decision? How would you try to integrate these factors in your analysis?

I want to model the shear wave velocity of a soil using matlab. The outcomes from the programming must result the variations of S-wave velocity versus depth. you can get some soil parameters from the internet to do the simulation. You must send me the reference in the word document ( where you will take your information from). The work must make sense in real engineering world. Conclusion and recommendation, and introduction must be provided. The out come from the work must be discussed properly. After doing the work, extract all results and place it in Ms word and send including the matlab coding. Please make sure to include table and figure in the work plus literature review relating to this topic ( using rayleigh waves to extract the shear wave velocity in the soil deposit) in the work. Include the references.  I want to chat with the engineer that will be doing this work. I want to know as to whether he/she understands what I want to do here.