2. The diagram below shows a fenced area. The enclosure has a rectangular portion connected to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. The diagram below shows a fenced area. The enclosure has a rectangular portion connected to a semi-circular portion as shown. The cost to build and install the fence is $26/ft for the curved portions of fence and $14/ft for the straight portions of fence. Write a user defined function with inputs of "R" and "L" that can be used to calculate the area of the enclosure and the cost to build the enclosure. Test your code by using the inputs of R = 35 ft and L = 210 ft. R Upload the .m file for the user defined function on D2L and take screenshots of the above calculations. 2. The diagram below shows a fenced area. The enclosure has a rectangular portion connected to a semi-circular portion as shown. The cost to build and install the fence is $26/ft for the curved portions of fence and $14/ft for the straight portions of fence. Write a user defined function with inputs of "R" and "L" that can be used to calculate the area of the enclosure and the cost to build the enclosure. Test your code by using the inputs of R = 35 ft and L = 210 ft. R Upload the .m file for the user defined function on D2L and take screenshots of the above calculations.
Expert Answer:
Answer rating: 100% (QA)
Solutions Total area of the enclosure can be calculated as or Total cost to build the fence can be c... View the full answer
Related Book For
Microeconomics
ISBN: 978-0321866349
14th canadian Edition
Authors: Christopher T.S. Ragan, Richard G Lipsey
Posted Date:
Students also viewed these mechanical engineering questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
ABC Client Preliminary Analytics - PBC Trial Balance December 31, 2019 Scope: Performance Materiality $210,000 and 10% 12/31/19 Balance 12/31/18 Account Class Balance Variance * Varlance Cash...
-
Suppose that the daily volatilities of asset A and asset B calculated at the close of trading yesterday are 1.6% and 2.5%, respectively. The prices of the assets at close of trading yesterday were...
-
Draw a Keynesian cross diagram to show the effects of a rise in autonomous expenditure on an economy operating below full employment output.
-
Discuss the reasons why almost all colonies had achieved independence by the end of the 1960s.
-
Andy Lange, president of the University of South Wisconsin, is concerned with the declining business at the University Book Store. The students tell him that the prices are simply too high. Andy,...
-
Research and select two (2) to three (3) analytical and decision intelligence frameworks and/or models. Outline the components of those models as they relate to data in organizations. Make sure to...
-
Presented below are annual coupon rates, yield rates, and expected duration for a series of debentures. Calculate the issuance price for each debenture assuming that the face value of each bond is...
-
The clock frequency of a certain CPU is 1 GHz a) What is the clock period for the above CPU? b) Define CPU latency, CPU Throughput, and how Throughput can be increased? c) For the above CPU, what is...
-
Pickle Corporation issued nonvoting preferred stock with a fair market value of $4,000,000 in exchange for all the outstanding common stock of Sickle Corporation. On the date of the exchange, Sickle...
-
Write up a two-column cash book for a second-hand bookshop from the following: 2013 Nov 1 Balance brought forward from last month: Cash 295; Bank 4,240. 2 Cash sales 310. 3 Took 200 out of the cash...
-
Explain how cost classification must be matched to the purpose of planning, decision making or control.
-
Classify each of the following as being primarily a fixed cost or a variable cost, and, if necessary, explain why you think such a classification would be difficult without more information being...
-
Use a calculator to evaluate the present value of an annuity formula \[P=m\left[\frac{1-\left(1+\frac{r}{n}ight)^{-n t}}{\frac{r}{n}}ight]\] for the values of the variables \(m, r\), and \(t\)...
-
The total efficiency of the 4 m solar collector installed in an area of light colored buildings by latitude in Bilecik is 55%. The mains water temperature is 20 C. Calculate how many liters of hot...
-
The landing gear of an aircraft with: mass of 2000 kg the spring-mass-damper system Consider that the runway surface is y(t) = 0.2 cos 157.08t stiffness of the spring is 5 x 105 N/m. What is the...
-
Pollution is wrong, when a corporation pollutes, it commits assault on the citizens of the country, and it should be punished. Comment on this statement in light of the discussion in this chapter.
-
Fill in the blanks to make the following statements correct. a. Evaluating a tax system requires consideration of the following two aspects of taxation: ________ and ________. b. Taxation usually...
-
Which of the following observed facts about an industry are inconsistent with its being a perfectly competitive industry? a. Different firms use different methods of production. b. The industry's...
-
Entropy of wet steam is given by (a) \(s_{f}+x s_{f g}\) (b) \(x s_{g}\) (c) \(s_{g}+s_{f g}\) (d) \(x s_{f}\)
-
Determine the change in internal energy when one \(\mathrm{kg}\) of steam expands from \(10 \mathrm{bar} 300^{\circ} \mathrm{C}\) to 0.5 bar and 0.9 dry. Take \(c_{p s}=2.1 \mathrm{~kJ} /...
-
What do you understand by the term priming ?
Study smarter with the SolutionInn App