1. The diagram to the right shows an oval tank that might be used to contain...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. The diagram to the right shows an oval tank that might be used to contain home heating oil. The volume of the tank is V=LA, where 4-R +2RH is the area of the end of the tank. The surface area of the tank is 4=24+(2nR+2H)L. i. Write a Matlab function to compute the volume of the tank as a function of L. Assume that R= 2 and H= 1.5, i.e., assign these fixed values to variables in the function. Do not print the value of V in the function. Return the value of V as an output parameter of the function. ii. Extend the Matlab function obtained in the preceding exercise so that L, R, and H are all inputs to the function. iii. Extend the Matlab function obtained in the preceding exercise so that V and As are returned from the function. H 1 1. The diagram to the right shows an oval tank that might be used to contain home heating oil. The volume of the tank is V=LA, where 4-R +2RH is the area of the end of the tank. The surface area of the tank is 4=24+(2nR+2H)L. i. Write a Matlab function to compute the volume of the tank as a function of L. Assume that R= 2 and H= 1.5, i.e., assign these fixed values to variables in the function. Do not print the value of V in the function. Return the value of V as an output parameter of the function. ii. Extend the Matlab function obtained in the preceding exercise so that L, R, and H are all inputs to the function. iii. Extend the Matlab function obtained in the preceding exercise so that V and As are returned from the function. H 1
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
In this question assume that p and q are atomic formulae. (a) Compare and contrast path formulae and state formulae in temporal logic. [4 marks] (b) Describe and contrast the meanings of F(G p) and...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
What does this code print (unless it produces an error)? = plane "A passengers" plane [2] = "m" print (plane)
-
If we use the data given in Exercise 1 with two-way analysis of variance, we get the accompanying display. What do you conclude? Statdisk DF: SS: MS: Test Stat, F: Critical F: P-Value: Source:...
-
The following transactions occurred in the opening and operation of Billss Delivery Service of Charlottetown: A. Bill OBrien opened the delivery service by investing $21,000 from his personal savings...
-
Discuss the various sources and strategies for integrating cost and value.
-
McCool Corporation wholesales repair products to equipment manufacturers. On April 1, 2010, McCool Corporation issued $30,000,000 of five-year, 10% bonds at a market (effective) interest rate of 8%,...
-
Explain democratic leadership style, skills, behaviors, traits, and characteristics to lead change and innovation at an organization. 2. There is no right or wrong answer about the best leadership...
-
Liquid reaction A --> 2B is taking place in a steady state packed bed reactor that has total available packing area (A) of 10 m. The density (p) and packing surface (a) of the catalyst per volume are...
-
The annual membership fee at your health club is $750 a year and is expected to increase at 5% per year. A life membership is $7,500 and the discount rate is 12%. You either pay the annual membership...
-
True or False. A higher price level increases aggregate expenditures.
-
To save money, some fast-food chains now have their customers place their orders at computer kiosks. Will the kiosks necessarily reduce the total number of workers employed in the fast food industry?
-
Facepalm, Instarant, and Snaphat are rival firms in an oligopoly industry. If kinked-demand theory applies to these three firms, Facepalms demand curve will be: a. more elastic above the current...
-
True or false. If women are crowded into elementary education and away from fire fighting, wages in fire fighting will tend to be lower than if women werent crowded into elementary education.
-
In Table 7.1, suppose the marginal utility numbers for books change: for each quantity of books, the marginal utility is 6 utils higher. For example, for 24 books, the marginal utility is 8 utils...
-
Company A sold to A stock for 800 with a margin of 250 . Make the appropriate adjustments on the following scenarios, assuming full consolidation method and a tax rate of 50%. a. F have been able to...
-
Find the radius of convergence of? 1.2.3 1.3.5 (2n-1) r2n+1 -1
-
The liquid-phase irreversible reaction A B + C is carried out in a CSTR. To learn the rate law, the volumetric flow rate, 0 , (hence = V/ 0 ) is varied and the effluent concentrations of species A...
-
AWFOSS10 View the CSB video (http://umich.edu/~safeche/assets/pdf/courses/Problems/CRE/344Reaction-EngrModule(3)PS-Exxon.pdf). After watching the Chemical Safety Board video, what points do you feel...
-
Repeat parts (a)(c) of Problem P4-11B for the reaction 3A C Pure A enters at 400 K, 10 atm and the equilibrium constant is K C = 2.5 (dm 3 /mol) 2 . Compare the equilibrium conversions in Problems...
-
True or False. The complex stiffness can be used to find the damping force in a system with hysteresis damping.
-
True or False. The logarithmic decrement can be used to find the damping ratio.
-
True or False. In the \(s\)-plane, the locus corresponding to constant natural frequency will be a circle.
Study smarter with the SolutionInn App