The volume V of liquid in a hollow horizontal cylinder of radius r and length L...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The volume V of liquid in a hollow horizontal cylinder of radius r and length L is related to the depth of the liquid h by V = [² co ² cos-¹ (¹ - h) — (r — h)√2rh –h²|L Develop an M-file to create a plot of volume versus depth. Here are the first few lines: function cylinder (r, L, plot_title) % volume of horizontal cylinder % inputs: % r = radius % L = length % plot title = string holding plot title Test your program with >> cylinder (3,5,... 'Volume versus depth for horizontal... cylindrical tank') The volume V of liquid in a hollow horizontal cylinder of radius r and length L is related to the depth of the liquid h by V = [² co ² cos-¹ (¹ - h) — (r — h)√2rh –h²|L Develop an M-file to create a plot of volume versus depth. Here are the first few lines: function cylinder (r, L, plot_title) % volume of horizontal cylinder % inputs: % r = radius % L = length % plot title = string holding plot title Test your program with >> cylinder (3,5,... 'Volume versus depth for horizontal... cylindrical tank')
Expert Answer:
Related Book For
Numerical Methods For Engineers
ISBN: 9780071244299
5th Edition
Authors: Steven C. Chapra, Raymond P. Canale
Posted Date:
Students also viewed these programming questions
-
To help you notice how often legal issues turn up in daily life, and therefore, the news To get you to think about those legal issues in more depth To encourage a critical reading of the news, keepin...
-
The volume V of liquid in a hollow horizontal cylinder of radius r and length L is related to the liquid h by Determine h given r = 2m, L = 5m, and V = 8.5 m3. Note that if you are using a...
-
The volume V of liquid in a spherical tank of radius r is related to the depth h of the liquid by V = h2(3r h)/3 Determine h given r = 1 m and V = 0.75 m3.
-
Include another public method in the Employee class from Pencil and Paper Exercise 3. The method should calculate an Employee objects new salary, which is based on the raise percentage provided by...
-
The following angles are given in radians. Convert them to degrees: /6, 0.70, 1.5, 5.
-
A quarterback claims that he can throw the football a horizontal distance of 183 m (200 yd). Furthermore, he claims that he can do this by launching the ball at the relatively low angle of 30.08...
-
Use the data in Exercise 20 in Section 13.1 for the following. a. Compute a point estimate of the mean height of sons whose fathers are 70 inches tall. b. Construct a 95% confidence interval for the...
-
Consider Mount Snow from S8- 3. Assume that Mount Snows reputation has diminished and other resorts in the vicinity are charging only $ 66 per lift ticket. Mount Snow has be-come a price- taker and...
-
The following account balances are for Lisa Assaad, Certified Public Accountant, as of April 30, 20X1. Cash Accounts receivable $ 120,000 48,000 Maintenance expense 21,400 Advertising expense 17,060...
-
Tax Software Assignment - Fall 2023 Ms. Jeanette Letourneau (SIN 123-456-789) was born in Montreal on December 15, 1979. She has spent most of her working life a song writer but also has a part-time...
-
There aircraft show above is flying at a constant speed without any pitching moment. (l.e. the plane is in equillibrium). The aircraft in the diagram above has the following properties: Datum: engine...
-
Westeros International paid its shareholders $2.25 per share in the last quarter and $8.19 per share in the last year. The market price per share of Westeros International is currently $72.89....
-
Suppose your student loan totals $35,000 when you graduate from Penn State. You are scheduled to make equal monthly payments to pay off the loan in 20 years, and the interest rate on the loan is 6%....
-
Mark and Lori own a house worth $275,000. The balance they owe on their first mortgage is $115,348. They want to take out a second mortgage and all of the lenders they have spoken with require a...
-
Briefly explain about marketing campaigns/advertisements (TV Commercial or print ad) which influenced you as a child. Do you think this ad will have an impact on the current generation, explain...
-
Suppose your credit card has a 13.5% interest rate. If your average daily balance for last month is $2,500, how much interest will be added to your balance? Assume the month has 30 days
-
Many public relation messages are created by the media that carries them. Select one: True False
-
Show that the peak of the black body spectrum as a function of ? is given by eq. (22.14) kg T Wmax = 2.82
-
Develop, debug, and test a program in either a high-level language or a macro language of your choice to compute the velocity of the falling parachutist as outlined in Example 1.2 Design the program...
-
Obtain an estimate of the integral from Prob. 22.2, but using two-, three-, and tour-point Gauss-Legendre formulas. Compute t for each case on the basis of the analytical solution.
-
Consider the linear programming problem: Maximize (x, y) = 6x + 8y Subject to 5x + 2y 40 6x + 6y 60 2x + 4y 32 x 0 y 0 Obtain the solution: (a) Graphically. (b) Using the simplex method. (c)...
-
Consider the common-base circuit in Figure 7.33 in the text. The transistor parameters are \(\beta=90, V_{E B}(\mathrm{on})=0.7 \mathrm{~V}\), and \(V_{A}=\infty\). A load capacitance of \(C_{L}=3...
-
For the circuit in Figure P7.39, the transistor parameters are: \(K_{n}=\) \(0.5 \mathrm{~mA} / \mathrm{V}^{2}, V_{T N}=2 \mathrm{~V}\), and \(\lambda=0\). Determine the maximum value of \(C_{L}\)...
-
Consider the circuit shown in Figure 7.25(a). The bias voltages are changed to \(V^{+}=3 \mathrm{~V}\) and \(V^{-}=-3 \mathrm{~V}\). The load resistor is \(R_{L}=20 \mathrm{k} \Omega\). The...
Study smarter with the SolutionInn App