Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using mathlab Manning Equation is an empirical equation that describes the relationship between flow of fluid in a channel and the channel geometry, slope, and

Using mathlab

image text in transcribed

Manning Equation is an empirical equation that describes the relationship between flow of fluid in a channel and the channel geometry, slope, and a roughness coefficient. For an open channel conduit, the Manning equation can be written as: VS(BH)5/3 Q= n(B + 2H)2/3 Where Q = flow (m/s), S = slope (m/m), H = depth (m), and n = the Manning roughness coefficient. Find H given Q = 5, S = 0.0002, B = 20, and n = 0.03. Perform the computation until an is less than as = 0.05%, Write a matlab script that performs these following tasks: Task 1: Manipulate the above equation and find the root graphically. Hint: You will need to plot H vs f(H) Task 2: Write a Matlab script for the fixed-point iteration method to solve this equation. Save your matlab script as Lastname fixedpoint.m If you have more time, learn how to use the newtraph.m function file and convert the fixed point portion of your Matlab script above into Matlab function file. This Matlab function will take input of function, initial guess, acceptable error, and maximum number of iteration and give output of the root, approximate error and number of iteration. Save your function file as Lastname fixedpoint.m

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 Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions

Question

7. Identify six intercultural communication dialectics.

Answered: 1 week ago