As depicted in Fig. P2.27, a water tank consists of a cylinder topped by the frustum of a cone. Develop a well-structured function in the high-level language or macro language of your choice to compute the volume given the water level
FIGURE P2.27
![Check Mark](/static/check-mark.png)
Want to see the full answer?
Check out a sample textbook solution![Blurred answer](/static/blurred-answer.jpg)
Chapter 2 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
Basic Technical Mathematics
Fundamentals of Differential Equations (9th Edition)
Advanced Engineering Mathematics
A First Course in Probability (10th Edition)
Finite Mathematics for Business, Economics, Life Sciences and Social Sciences
- Given: Mass = M, Radius = R, Moment of Inertia = I, Distance = H, Gravity = g, Initial timing = 0 Unknown = How long will the [delta t] process take? (time) Please keep in mind that almost every variable is unknown! We are given no numbers and are instructed to generate a solution using the variables [ "R, M, g, I and H." ] Target = Find an equation that, if we could substitute numbers, would determine how long the process would take. Newton's second law and torque seem to be relevant based on how the problem is written. * Also please show drawing based on what we are calculatingarrow_forwardFor the following concentration expressions, indicate whether they are uniform or nonuniform and in how many dimensions (OD, 1D, 2D, or 3D), and steady or unsteady. Then for the following control volume and origin, and table of constants, use Excel or Matlab to graph profiles that show how concentration changes within the control volume and over time to a limit of 20 for the following: C(x,0,0,0), C(0,y,0,0), c(0,0,z,0) and C(0,0,0,t). On each graph, show which parameters are held constant, the CV boundaries, and the point where all four plots overlap. 20 C(x=0) 10 a 0.0001 b 0.001 20 0.01 y k 0.1 100 All of the following functions are C(space, time) and so not necessarily just x as suggested. a. C,(x)= C,(x = 0)x exp{- ax} d. C, (x) = C, (x = 0)x exp{-ax}x exp{- by² }x exp{-cz²}x exp{- kt}arrow_forward1. For the following concentration expressions, indicate whether they are uniform or nonuniform and in how many dimensions (OD, 1D, 2D, or 3D), and steady or unsteady. Then for the following control volume and origin, and table of constants, use Excel or Matlab to graph profiles that show how concentration changes within the control volume and over time to a limit of 20 for the following: C(x,0,0,0), C(0,y,0,0), C(0,0,z,0) and C(0,0,0,t). On each graph, show which parameters are held constant, the CV boundaries, and the point where all four plots overlap. 20 C(x=0) 10 a 0.0001 b 0.001 | 20 0.01 k 0.1 100 All of the following functions are C(space, time) and so not necessarily just x as suggested. a. C,(x)= C,(x = 0)x exp{- ax}arrow_forward
- Target CO 1.5 Formulate methods and solutions using appropriate knowledge of the fundamental principles of numerical methods to solve complex engineering problems Problem: You are designing a spherical tank to hold water for a small village in a developing country. The volume of liquid it can hold can be computed as: - 2 [3R – h] 3 V = πh². = where V = volume (m³), h = depth of water in tank (m), and R the tank radius (m). R If R=4 m, to what depth must the tank be filled so that it holds 30 m³ of water? a.) Formulate the equation of the function f(h)arrow_forwardplease answer soon and show up 4 iteration in calcuation q2barrow_forwardg. The circus manager doesn't believe your equations. He draws a diagram showing some possible trajectories for the acrobat and human cannonball [see below]. "See, he says, their trajectories intersect as long as the acrobat isn't going too fast. So, there isn't a specific speed the acrobat should be running." You look at thearrow_forward
- As4. This is my third time asking this question. Please DO NOT copy and paste someone else's work or some random notes. I need an answer to this question. There is a mass attached to a spring which is fixed against a wall. The spring is compressed and then released. Friction and is neglected. The velocity and displacement of the mass need to be modeled with an equation or set of equations so that various masses and spring constants can be input into Matlab and their motion can be observed. Motion after being released is only important, the spring being compressed is not important. This could be solved with dynamics, Matlab, there are multiple approaches.arrow_forwardTask 3 a. If the Pressure produced by the gas cylinder of the motor of the rocket is governed by the below equation: P = sin* (V)cos³ (V) And the energy is given by: V2 W = PdV Jyi If V2=2V1, Find W. ii. Use Matlab or excel to plot the Energy in the interval [0, 2n] i. What will be W if V2=4V1. ii.arrow_forwardPlease Draw The Freebody On a sheet of paper Only and Solve via Handwritten Only. Here I am facing difficulty in Typed based solution. [Reaction(N) and angle(°)]arrow_forward
- USE MATLAB AND SOLVE THIS QUESTION The ideal gas law relates the pressure P, volume V, absolute temperature T, and amount of gas n. The law is P = nRT/ V where R is the gas constant. An engineer must design a large natural gas storage tank to be expandable to maintain the pressure constant at 2.2 atm. In December when the temperature is 4°F (- 15°C), the volume of gas in the tank is 28 500 ft3 . What will the volume of the same quantity of gas be in July when the temperature is 88°F (31°C)? (Hint: Use the fact that n, R, and P are constant in this problem. Note also that K =°C +273.2.)arrow_forwardExamples 2 PPL.pdf Homework Solve the following Liner Programming Problems (LPP) which to maximize profit. Use Graphical Method Ql: Max Z= 4X1 + 3X2 S.T 5X1+3X2arrow_forwardYou are tasked with designing the runway on an aircraft carrier. The minimum speed for the F/A-18 Hornet is 193.8 mph. The Hornet weighs 40,000 lbf and its twin engines provide a thrust of ~40,000 lbf combined, providing a max acceleration of 1g. How long must the deck be to takeoff unassisted in feet?arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY
![Text book image](https://www.bartleby.com/isbn_cover_images/9780190698614/9780190698614_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9780134319650/9780134319650_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781259822674/9781259822674_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118170519/9781118170519_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337093347/9781337093347_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118807330/9781118807330_smallCoverImage.gif)