What will be the depth where you trigger the alarm

Assignment Help Financial Management
Reference no: EM132382446

Question

Assignment

The Mannings Equation is used to find the Flow Q (cubic feet per second or cfs) in an open channel. The equation is

Q = 1.49/n * A * R^2/3 * S^1/2

Where

Q = Flowrate in cfs

A = Cross Sectional Area of Flow (square feet)

R = Hydraulic Radius (Wetted Perimeter / A)

S = Downward Slope of the Channel (fraction)

The Wetted Perimeter and the Cross-Section of Flow are both dependent on the geometry of the channel. For this assignment we are going to use a Trapezoidal Channel.

If you work out the Flow Area you will find it is

A = b*y + y*(z*y) = by + z*y^2

The Wetted Perimeter is a little trickier but a little geometry will show it to be

W = b + 2y(1 + z^2)^1/2

where b = base width (ft); Z = Side slope; y = depth.

Putting it all together gives a Hydraulic Radius of

R = (b*y + Z*y^2)/(b + 2y*(1+Z^2))^1/2

All this goes into the Mannings Equations

Q = 1/49/n * (b*y + z*y^2) * ((b*y + Z*y^2)/(b + 2y(1+Z^2))^1/2)^2/3 * S^1/2

Luckily I will give you the code for this equation in Python. You are free to use this code. Please note that YOU will be solving for y (depth in this function) using iterative techniques.

def TrapezoidalQ(n,b,y,z,s):

# n is Manning's n - table at

# https://www.engineeringtoolbox.com/mannings-roughness-d_799.html

# b = Bottom width of channel (ft)

# y = Depth of channel (ft)

# z = Side slope of channel (horizontal)

# s = Directional slope of channel - direction of flow

A = b*y + z*y*y

W = b + 2*y*math.sqrt(1 + z*z)

R = A/W

Q = 1.49/n * A * math.pow(R, 2.0/3.0) * math.sqrt(s)

return Q

As an engineer you are designing a warning system that must trigger when the flow is 50 cfs, but your measuring systems measures depth.

What will be the depth where you trigger the alarm?

The values to use

Manning's n - Clean earth channel freshly graded

b = 3 foot bottom

z = 2 Horiz : 1 Vert Side Slope

s = 1 foot drop for every 100 feet

(hint: A depth of 1 foot will give you Q = 25.1 cfs)

Write the program code and develop a document that demonstrates you can use the code to solve this problem using iterative techniques.

You should call your function CalculateDepth. Inputs should be Q (flow), Manning's n, Bottom Width, Side Slope, Longitudinal Slope. It should demonstrate an iterative method to converge on a solution with 0.01 foot accuracy.

Reference no: EM132382446

Questions Cloud

Write a program that accepts a number of players as input : A program that accepts a number of players as input. If the user enters a number that is not 2 or 3, then return a friendly error message.
Prompt user for a proper input which is of the form accnum : Assume every accounts opening balance is 500 & every account needs to maintain a minimum balance of 100. Keep offering to do transactions until user wants.
Calculate the mean of a list of numbers and print the result : A function to accept a list of numbers as input. The program will output the min, max, mean, and median of the list including the label;
Make a function that counts using a while loop : A function to calculate the median of a list of numbers and print the result. Make a function that counts using a while loop.
What will be the depth where you trigger the alarm : Write the program code and develop a document that demonstrates you can use the code to solve this problem using iterative techniques.
Design a function that consumes a trafficlight : Design a function that consumes a TrafficLight and produces the next TrafficLight. Here, we'll assume that the traffic light has the expected behaviour.
Create a program that adds the first and third rows : Create a program that adds the first and third rows of the following data, then prints the result. Use sample- data to create a scatter plot with error bars.
Budding performance principles : Develop an instruction manual that could walk a lay person through the process of checking for potential sources of indoor air problems.
Create a program in python eclipse that asks the user : Create a program in Python Eclipse that asks the user for an integer that represent the date in the MMDDYYYY format and then displays the date.

Reviews

Write a Review

Financial Management Questions & Answers

  Foreign company acquisition

Acquisition by a foreign company and the effects of that decision and the results of foreign exchange in Euro and the exchange rate differences.

  Financial management for profit and non profit organizations

In this essay, we are going to discuss the issues of financial management in a non-profit organisation.

  Method for estimating a venture''s value

Evaluate venture's present value, cash and surplus cash and basic venture capital.

  Replacement analysis

This document show the Replacement Analysis of modling machine. Is replacement give profit to company or not?

  Business finance task - capital budgeting

Your company is considering using the payback period for capital-budgeting. Discuss the advantages and disadvantages of this technique.

  Analysis of the investment

In this project, you will focus on one of these: the additional cost resulting from the purchase of an apple press (a piece of equipment required to manufacture apple juice).

  Conduct a what-if analysis

Review the readings and media for this unit, including the Anthony's Orchard case study media. Familiarise yourself with the Anthony's Orchard company and its current situation.

  Determine operational expenditures

Organisations' behaviour is guided by financial data. In the short term, such data will help determine operational expenditures; in the long term, historical data may help generate forecasts aimed at determining strategic plans. In both instances.

  Personal financial management

How much will you have left over each half year if you adopt the latter course of action?

  Sources of finance for expansion into new foreign markets

A quoted company is considering several long-term sources of finance for expansion into new foreign markets.

  Long term financial planning

This assignment is designed for analyze Long term financial planning begins with the sales forecast and the key input in the long term fincial planning.

  Explain the role of fincial manager

This assignment explain the role of fincial manager, function of manger. And what are the motives of financial manager.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd