Develop a program using a programming or macro language to implement the random search method. Design the
Question:
Develop a program using a programming or macro language to implement the random search method. Design the subprogram so that it is expressly designed to locate a maximum. Test the program with ƒ(x, y) from Prob. 14.7. Use a range of – 2 to 2 for both x and y.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 61% (13 reviews)
The following code implements the random search algorithm in VBA It is set up to solve Prob 147 Opti...View the full answer
Answered By
Rishabh Ojha
During my undergraduate i used to participate as TA (Teaching Assistant) in several electronics and computers subject. I'm passionate about learning Computer Science as my bachelors are in Electronics but i learnt most of the Computer Science subjects on my own which Machine Learning also. At Present, i'm a working professional pursuing my career as a Machine Learning Engineer and i want to help others learn during my free hours, that's all the motivation behind giving tuition. To be frank i have no prior experience of tutoring but i have solved problems on opensource platforms like StackOverflow and github. ~Thanks
4.90+
3+ Reviews
10+ Question Solved
Related Book For
Numerical Methods For Engineers
ISBN: 9780071244299
5th Edition
Authors: Steven C. Chapra, Raymond P. Canale
Question Posted:
Students also viewed these Numerical Analysis questions
-
Develop a program using a programming or macro language to implement Newtons method. The subroutine should have the following features: Iterate until the relative error falls below a stopping...
-
A balloon is weighted so that it is barely able to float in water. If it is pushed beneath the surface, will it return to the surface, stay at the depth to which it is pushed, or sink? Explain.
-
A 200-mm-focal-length lens can be adjusted so that it is 200.0 mm to 206.0 mm from the film. For what range of object distances can it be adjusted?
-
The conjugate base of diethyl malonate can serve as a nucleophile to attack a wide range of electrophiles. Identify the product that is formed when the conjugate base of diethyl malonate reacts with...
-
The directors of XYZ plc wish to expand the company's operations. However, they are not prepared to borrow at the present time to finance capital investment. The directors have therefore decided to...
-
Given two arrays each of length n, arr1, and arr2, in one operation, any two elements of an array can be swapped. This can occur any number of times. Find the maximum possible sum of i*(arr2[1]-...
-
In 2005, California had almost 440 MW of coal power-generating capacity. What amount of biomass would be required to produce the same amount of electricity? Assume a biomass heating value of \(17...
-
Consider again the kitty litter ordering policy for Sams Cat Hotel in Problem 7. a. Suppose that the weekly demand forecast of 90 bags is incorrect and actual demand averages only 60 bags per week....
-
On January 1, 2020, Latham Inc. bought 60% of the common shares of Broad Inc., Broad Inc. bought 70% of the common shares of Ashwin Inc. The companies account for control investment using the cost...
-
Wallis Company manufactures only one product and uses a standard cost system. The company uses a predetermined plant wide overhead rate that relies on direct labor-hours as the allocation base. All...
-
Perform one iteration of the optimal gradient steepest descent method to locate the minimum of (x, y) = 8x + x 2 + 12y + 4y 2 2xy Using initial guesses x = 0 and y = 0.
-
The grid search is another brute force approach to optimization. The two-dimensional version is depicted in Figure. The x and y dimensions are divided into increments to create a grid. The function...
-
In Problems 1-4, find a formula for R6(x), the remainder for the Taylor polynomial of order 6 based at a. Then obtain a good bound for |R6(0.5)|. See Examples 4 and 6? 1. In(2 + x); a = 0 2. e-x; a =...
-
Keith a farmer agreed to buy plant food from Josephs for $10,000 and issued a cheque for payment of the purchase price. The parties agreed to backdate the purchase order and the cheque for income tax...
-
Delivering Bad News a. List in order the 5 components of a bad news message: closing paragraph, counter proposal, explanation, bad news statement, introductory paragraph. b. Provide some examples of...
-
Read the following articles https://www.themarshallproject.org/2015/03/31/public-shamingsLinks to an external site. For Shame! Public Shaming Sentences on the Rise | Prison Legal NewsLinks to an...
-
On April 1, Year 1, Fossil Energy Company purchased an oil producing well at a cash cost of $10,620,000. It is estimated that the oil well contains 820,000 barrels of oil, of which only 720,000 can...
-
Ogier Incorporated currently has $840 million in sales, which are projected to grow by 8% in Year 1 and by 3% in Year 2. Its operating profitability (OP) is 8%, and its capital requirement (CR) is...
-
The consumption of alcohol is illegal for Afghan citizens, but the government does allow the sale of alcohol under licence to foreigners. Use a diagram to show how such a prohibition would affect the...
-
Rosalie owns 50% of the outstanding stock of Salmon Corporation. In a qualifying stock redemption, Salmon distributes $80,000 to Rosalie in exchange for one-half of her shares, which have a basis of...
-
a. What is the present value of $1,000 due in ten years? Use a 6 percent rate of interest. b. What is the present value of $70 per year for a period of ten years? Use a 6 percent rate of interest. c....
-
In their book Forecasting and Time Series Analysis, 2nd edition (McGraw-Hill, 1990), D. C. Montgomery, L. A. Johnson, and J. S. Gardiner analyze the data in Table 6-5, which are the monthly total...
-
Construct a normal probability plot of the piston ring diameter data in Exercise 6-1. Does it seem reasonable to assume that piston ring diameter is normally distributed?
-
Construct a normal probability plot of the insulating fluid breakdown time data in Exercise 6-2. Does it seem reasonable to assume that breakdown time is normally distributed?
-
29. You are standing on a balcony on the 15th floor of the Bank of America building in San Francisco. The balcony is 72 m above the ground; the top of the building is 52 floors (237 m) high. You...
-
(a) What is the kinetic energy in joules of a 1140-kg automobile traveling at 93 km/h? (b) How much work would have to be done to bring a 1140-kg automobile traveling at 93 km/h to a stop? 4. How...
-
A charging RC circuit controls the intermittent windshield wipers in a car. The emf is 12.0 V. The wipers are triggered when the voltage across the 120F capacitor reaches 12.0 V; then the capacitor...
Study smarter with the SolutionInn App