Cheap Homework Help-Economics Questions: A person with utility function u(x1, x2) = 2×1 + 3×2 wants to find the least costly consumption that provides a utility of 60 when prices are p1 = 4, p2 = 2. To do this you need to solve the following minimization problem
Question 4 A person with utility function u(x1, x2) = 2x1 + 3x2 wants to find the least costly consumption that provides a utility of 60 when prices are p1 = 4, p2 = 2. To do this, you need to solve the following minimization problem.
min 4x1 + 2x2 subject to
x1,x2
(i) 2x1 + 3x2 ≥ 60
- x1 ≥ 0
- x2 ≥
Solve the optimization problem graphically. How much money does the person need to afford this consumption bundle.
Question 5 A person with utility function u(x1, x2) = x0.5 + x0.2 wants to find the con-
1 2
sumption bundle that provides the highest utility at prices p1 = 4, p2 = 2 and income I. Thus, the person solves
max x0.5 + x0.2 subject to
x1,x2 1 2
(i) 4x1 + 2x2 ≤ I
- x1 ≥ 0
- x2 ≥
Using the Excel solver, compute the solution (i.e. the optimal consumption of goods 1 and 2, x1, and x2) for income levels I = 100 and I = 200. Determine the percentage of income that the person spends on goods 1 and 2, respectively, for the two levels of income. (Note that pi xi is the amount spent on good i).
Question 6 The homework 2 spreadsheet contains data, where x and y are some variables that determine z, the dependent variable. The objective is to find a function f (x, y) that describes the data. To do this, we consider the following family of functions:
f (x, y) = β1
1 + exp(w1 x + w2y + b1)
+ β2
1 + exp(w3 x + w4y + b2)
(this family of functions is a “feed-forward neural network, with one hidden layer” and used in many applications). Parameters w1 to w4, β1, β2, and b1 and b2 are cho- sen to minimize the square differences between the value f (x, y) and the observed value of z, i.e., we solve
min
25
.( f (xi, yi) − zi)2.
w1,w2,w3,w4,β1,β2,b1,b2 i=1
The spreadsheet already contains a column with the values of ( f (xi, yi) − zi)2 for each data point. Thus, to determine the objective you simply need to sum all ele- ments in that column.
- Select three different start values for parameters wi, βi, and bi, and use the non-linear solver in Excel. Do you always get the same answer?
- Now impose the bound that −100 ≤ wi, βi, bi ≤ 100 and use the genetic algo- rithm from Excel (i.e., ”evolutionary”). Redo your computation with different seeds.
- Finally, go back to the non-linear solver (keep the bounds −100 ≤ wi, βi, bi ≤
100) and choose the “multistart” option. Try your computation with larger number of start values (parameter population size) and different seeds.
- What is the best solution you found? Make a plot of f (x, y) for these param- eters where −1 ≤ x, y ≤ For example, this can be done using Wolfram Alpha, using the comand ”plot f(x,y), x=-1..1, y=-1..1.”
- Can you be completely sure that this solution is the true global minimum?