Given the unconstrained optimisation problem:minx f(x)with x 2 Rn and f : Rn ! Rm(1) Give the expression of the rst and second derivative of f(x)(2) Give the necessary and sucient condition for the minimum of the functionf(x)Let us consider the Rosenbrock banana functionf(x) = 100(x2 ô€€€ x21)2 + (1 ô€€€ x2)2(1) Compute the gradient and the Hessian of f(x)(2) Give the necessary conditions for a local minimum(3) is x = [1; 1]T a local minimum?(4) Detail the Newton method algorithm(5) Write two matlab scripts one for the function one for the Newton method(6) Using Matlab, give the 10 rst iterations of the Newton method startingfrom the initial point x = [ô€€€1;ô€€€2]T(7) Plot the function using ezcontour(8) Plot the results of the 10 iterations on the same graph(9) Compute the norm of the error (x ô€€€ x) at each iteration and determinethe rate of the convergence. Justify theoretically your answer.1

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Given the two 3-D vectors a=[-6, -9, 8] and b=[3, -6, 6],

find the dot product and angle (degrees) between them. Also find the cross

 product (d = a cross b) and the unit vector in the direction of d.

Scanned by CamScanner Scanned by CamScanner

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Given the total cost function,TC=rK+wL+200q and the avarenge cost function.find the marginal cost.

Question4a. K is fixed at 5. The short-run production function then becomes q = 25L.This implies that for any level of output q, the number of labor teams hiredwill be qL25 . The total cost…

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Given the text file citytpr.txt containing temperature readings for various cities, develop a Raptor algorithm to sort the temperatures in decreasing values. The sorted temperatures shall be written to a file called sortedcitytpr.txt. The content of the files citytpr.txt and sortedcitytpr.txt must be stored in the formats shown below. For each city, the citytpr.txt includes the city name and the temperature respectively. The solution must work for any arbitrarily large file ( i.e. the number of city-temperature records must not be hard coded in the algorithm). The submission must be an executable Raptor file of your flowchart solution. Any other forms of submissions will be marked as zero. Content of citytpr.txt Kingston 10 Milton 4 Calgary 2 Vancouver 14 London 11 Content of sortedcitytpr.txt Vancouver: 14 London : 11 Kingston : 10 Milton : 4 Calgary : 2 Hint: Since it is a sorting problem, the solution must resemble something like the main chart for the insert, selection or the bubble sorting algorithm – anyone of these will do. The only differences may be : (1) the sorting order (increasing or decreasing), (2) the swap. For the homework the swap must be applied to both temperatures and city names at the same time. For file reading check the example of Figure 7.9 (module 7). Store the city names and corresponding temperatures in two separate arrays. Make sure that for any city, its name and temperature are placed at the same index position of their corresponding arrays. The problem at hand can then be solved by sorting the temperature array (using any one of the sorting algorithms) while at the same time moving the positions of the names in the city array so that they match the positions of their corresponding city temperatures being sorted.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Given the technical and socio-economic factors that affect domestic and regional food crop production, outline, with appropriate, detailed explanation and discussion, the i. Governmental policies that should be adopted to address the current situation with respect to domestic and regional food crop production towards improving regional food security.” 250 word limit

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Giving reasons for your answer based on the type of system being developed, suggest the most appropriate generic software process model that might be used as a basis for managing the development of the following systems:

a) A system to control anti-lock braking in a car

b) A virtual reality system to support software maintenance

c) A university accounting system that replaces an existing system

d) An interactive travel planning system that helps users plan journey with the lowest environment impact.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

can you please post on the comment below:

Giving gifts such as free sales promotion to a purchaser is ethical. In this case it benefits both parties. For a customer it may get a coupon off its favorite product or something they need or want or an added product from which can bring happiness. When a customer makes the purchase this benefits the business which brings happiness. 

By giving preferential treatment to customers who are also good suppliers. This can be defined as reciprocity, which is the exchange of materials for mutual benefit. In this case I believe it is ethical to give special treatment to customers who are good suppliers. This is creating a reliable customer base. You will  c a base that will stick with you because they know they get treated well when dealing with your business. Companies create loyal/reward programs for this reason. You as a customer feel important to this company which is vital for a company to make it as personal as they can. 

Unless the purchaser gives their permission that they can use their information, it is unethical to seek information from purchasers on competitors quotes for the purpose of submitting another quote. 

Gaining information about competitors by asking purchasers I believe is ethical. You as a business owner want to out beat your competition and in doing so you need to gain information about the other company to know how they operate, maybe even how they cut costs or spend money, and how they attract customers. It can all be very beneficial to your business. Businesses can also gain information about competitors in other ways as well. As described in the article “12 Ways to (Legally) Spy on Your Competitors”, by Carol Tice, it says by just looking on social media page you can gain information about a competitor, or even play secret shopper and skip the middle man.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

given z=f(x,y)=x2+y2/2, g(t)=f(x0+th, y0+tk), h and k are arbitrary. suppose(x0,y0) is a point where f(x,y) is minimized. Derive the condition that must be satisfied for f(x0,y0) to be such a minimum. This will involve calculating g(t) for f(x) and then use first and second derivative of g(t) to find the optimal conditions that let you solve for (x0,y0)

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

Given your risk tolerance and your need to diversify, explain how the selected realized returns (1926–2006) page 212 and the effects of portfolio risk for average stocks will impact your future investment decisions and why.

  • Attachment 1
  • Attachment 2
 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW

The parametric equations are ##x=2costheta## and ##y=2+2sintheta##

The equation represents a circle, center ##(0,2)## and radius ##r=2##

We use the following parametric equations

##x=rcostheta##

and ##y-2=rsintheta##

Therefore,

##x^2+(y-2)^2=r^2cos^2theta+r^2sin^2theta=4##

So,

##r^2(cos^2theta+sin^2theta)=4##

##r=sqrt4=2##

As ##cos^2theta+sin^2theta=1##

The parametric equations are

##x=2costheta## and ##y=2+2sintheta##

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
ORDER NOW