Question: The problem must be done using matlab please help me with the code thank you You are designing a gravity-driven water tank possible within monetary

 The problem must be done using matlab please help me with

the code thank you You are designing a gravity-driven water tank possible

within monetary cost limitations. As shown in the figure and pipe system

The problem must be done using matlab please help me with the code

thank you

You are designing a gravity-driven water tank possible within monetary cost limitations. As shown in the figure and pipe system to deliver water at the highest velocity below, the tank will be built on hill at some height (2). The velocity of water exiting the pipe must be at least 10 m/s. You have $600 to spend on the pipe, and the pipe costs $25 per meter for t meter. Write a MATLAB m-file to achieve the following goals: he first I0 meters(and $15 per meter for cach additional 1. Calculate the velocity of water exiting the pipe forleleven equally-spaced values of z ranging rom 0 to 30 m. Create a plot of water exit velocity for z values manging frotn o k0m abel he as o 30 m. Label the axes, 3. Determine the hcight2 for which the exit velocity is too slow and indicate this height on the 4. For each of the eleven equally spaced values of z, compute the cost of the pipe, and create a 5. Determine the height z for which the pipe is too expensive and indicate this height on the plot including the correct units plot with a vertical line made of 20 x's. plot of pipe cost vs, z. Label the axes, including correct units. with a vertical line made of 20 o'S Turn in a printout of your completed m-file and the two plots. z=0.9x Pipe Length . Exit Velocity = V2gz

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!