Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

l Explain several rater errors by giving examples of them.

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago