Section A: (70 points) Develop your own Matlab/Phyton code for a line search based on Golden...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Section A: (70 points) Develop your own Matlab/Phyton code for a line search based on Golden Section Search Method which is to be utilized in determination of the optimum step size a* of change in design A. We will use this code in the next nonlinear programming textbook. assignment. Verify your code with the solved exercises in your Section B: (30 points) For the following two functions, direction of change at a point is given. a) f(x)=(a*x +3* x +d* x) +4*h* (x - x) = (1,3,1) at =(-1,-1,-1) at x = (5,1) d = (-1,-2) b) f(x)=0.1*a* x +d* x -10 Where you will use your university student id number to determine a,b,c,d,e,f,g,h,i. Your number is [abcdefghi]. If you need to make any minor adjustment to your problems because of your ID number, please explain why and proceed with it. For each problem, 1) Derive the function of one variable (line search function) that can be used to determine the optimum step size. Show your steps. (7.5 points each) 2) Then, using your Golden Section search Matlab Phyton code, calculate the optimum step size a with = 0.05 and = 0.0001 at the given point and the search direction. (7.5 points each) Please submit a) Soft copy of your Matlab program (no bugs) Your code must run without errors. b) A technical paper of your work (clear, fluent, complete, understandable, must have formulations, flowchart and a good discussion). Please use AIAA class template for your report. Technical report is mandatory. c) Submit your homework to Ninova on time. No emails will be accepted. Section A: (70 points) Develop your own Matlab/Phyton code for a line search based on Golden Section Search Method which is to be utilized in determination of the optimum step size a* of change in design A. We will use this code in the next nonlinear programming textbook. assignment. Verify your code with the solved exercises in your Section B: (30 points) For the following two functions, direction of change at a point is given. a) f(x)=(a*x +3* x +d* x) +4*h* (x - x) = (1,3,1) at =(-1,-1,-1) at x = (5,1) d = (-1,-2) b) f(x)=0.1*a* x +d* x -10 Where you will use your university student id number to determine a,b,c,d,e,f,g,h,i. Your number is [abcdefghi]. If you need to make any minor adjustment to your problems because of your ID number, please explain why and proceed with it. For each problem, 1) Derive the function of one variable (line search function) that can be used to determine the optimum step size. Show your steps. (7.5 points each) 2) Then, using your Golden Section search Matlab Phyton code, calculate the optimum step size a with = 0.05 and = 0.0001 at the given point and the search direction. (7.5 points each) Please submit a) Soft copy of your Matlab program (no bugs) Your code must run without errors. b) A technical paper of your work (clear, fluent, complete, understandable, must have formulations, flowchart and a good discussion). Please use AIAA class template for your report. Technical report is mandatory. c) Submit your homework to Ninova on time. No emails will be accepted.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
(a) Explain how a limit worth may be tended to at run-time, both in a syntaxtree middle person and in collected code. What is the importance word "settled" already? [3 marks] (b) Give a model program...
-
Your parents have made you an offer you can't refuse. They're planning to give you part of your inheritance early. They've given you a choice. Option (a) They'll pay you $11,000 per year for each of...
-
Golden Manufacturing Company started operations by acquiring $150,000 cash from the issue of common stock. On January 1, 2018, the company purchased equipment that cost $120,000 cash, had an expected...
-
How many arrangements of the letters in the word ARGUMENT are there if: a. There are no restrictions on the order of the letters b. The first letter is an A c. The letters A and R must be next to...
-
= 225, = 40, n = 75 A population has a mean and a standard deviation . Find the mean and standard deviation of the sampling distribution of sample means with sample size n.
-
During 2011, Arthur Corporation reported a net income of $3,059,000. On January 1, Arthur had 2,800,000 shares of common stock outstanding. the company issued an additional 1,680,000 shares of common...
-
Michael exerts a force of 100 N on a 55.0 kg wheelbarrow, at an angle of 20.0 below the horizontal. Neglecting friction, what is the horizontal acceleration of the wheelbarrow?
-
Kleen Corp., a privately owned and operated single-stream recycling facility, has annual contracts with several cities in the Tri-County Metropolitan Area. Kleen Corp. wants to add a new set of...
-
You and your management team are working to develop the strategic direction of your company for the next three years. Your company has averaged annual sales of $1 million dollars and reported...
-
Five people are to dine together at a rectangular table, but the hostess cannot decide on a seating arrangement. In how many ways can the guests be seated?
-
Evaluate each expression in Problems 3-32. \({ }_{100} P_{1}\)
-
Suppose your gross monthly income is \(\$ 9,500\) and your current monthly payments are \(\$ 2,625\). If the bank will allow you to pay up to \(36 \%\) of your gross monthly income (less current...
-
The transfer function of the system shown below is (a) \(\frac{1}{1+\tau s}\) (b) \(\frac{1}{(1+\tau s)^{2}}\) (c) \(\frac{\tau s}{1+\tau s}\) (d) \(\frac{\tau s}{(1+\tau s)^{2}}\) E,(s) R Cs Amp....
-
In Problems 20-52: a. State the type; and \(\mathbf{b}\). Answer the question. What annual deposit is necessary to have \(\$ 10,000\) in 5 years if all the money is deposited at \(1.5 \%\) interest...
-
Which of the following is relatively soluble in a nonpolar solution but is soluble in water HCOOH CH3CH2CH2OH KCl C3H6 CH3NH2
-
What is the mode?
-
(a) Sketch carefully the chemical potential versus the number of particles for a boson gas in volume V at temperature , Include both classical and quantum regimes. (b) Do the same for a system of...
-
Consider a dielectric solid with a Debye temperature equal to 100 K and with 1022 atoms cm-3. Estimate the temperature at which the photon contribution to the heat capacity would be equal to the...
-
Show that the number of photons < sn > in equilibrium at temperature in a cavity of volume V is N = 2.40-2V(/hc)3 From (23) the entropy is (42V/45)(/hc)3, whence /N ( 3.602. It is believed that...
-
1. Describe the bases of power held by Dr. Jamie Thompson. Describe the bases of power held by Dr. Elizabeth Clarke. 2. What activities and people have contributed to Jaime Thompsons power? What...
-
What is the current in the wire in Figure Q22.1? 1.0 VR + 1.0-1.0V + FIGURE Q22.1
-
Electroplating uses electrolysis to coat one metal with another. In a copper-plating bath, copper ions with a charge of +2e move through the electrolyte from the copper anode to the cathode the metal...
Study smarter with the SolutionInn App