Menu

[solved]-Task 1 Use Fzero Find Roots Function 0518 23315 12557783 F V 65 000 V 00018626 V V 0001862 Q39022002

Task # 1 Use fzero to find roots of the function 0.518(233.15) 12.557783 f(v) = 65,000- v-0.0018626 v(v+0.0018626) 233.15 SaTask # 2 Use fzero to find the roots of the function. 1 5 (x) = x – 0.1)? +0.01 (x-1.2)² + 0.04 • Save f(x) as function m.filTask #3 Use false-position method to find root of Mannings equation -- use code: false_position.m 1 (bh )_51/2 = 0 f(h) = 0

Task # 1 Use fzero to find roots of the function 0.518(233.15) 12.557783 f(v) = 65,000- v-0.0018626 v(v+0.0018626) 233.15 Sa plot the function using fplot or plot to observe the approximate roots in the interval v=[0.002,0.004] Task # 2 Use fzero to find the roots of the function. 1 5 (x) = x – 0.1)? +0.01 (x-1.2)² + 0.04 • Save f(x) as function m.file • plot the function using fplot or plot to observe the approximate roots in the interval x=[-1.5, 1.5] Task #3 Use false-position method to find root of Manning’s equation — use code: false_position.m 1 (bh )”_51/2 = 0 f(h) = 0_1 (bh 15/3 n (b + 2h 1/3 b = 30m, Q = 1000m3/s S= 0.002, n = 0.022 Plot the function using fplot or plot . Use lower bound = 0; upper bound = 10; allowable tolerance = 0.00001; maximum number of iterations = 50 Show transcribed image text Task # 1 Use fzero to find roots of the function 0.518(233.15) 12.557783 f(v) = 65,000- v-0.0018626 v(v+0.0018626) 233.15 Sa plot the function using fplot or plot to observe the approximate roots in the interval v=[0.002,0.004]
Task # 2 Use fzero to find the roots of the function. 1 5 (x) = x – 0.1)? +0.01 (x-1.2)² + 0.04 • Save f(x) as function m.file • plot the function using fplot or plot to observe the approximate roots in the interval x=[-1.5, 1.5]
Task #3 Use false-position method to find root of Manning’s equation — use code: false_position.m 1 (bh )”_51/2 = 0 f(h) = 0_1 (bh 15/3 n (b + 2h 1/3 b = 30m, Q = 1000m3/s S= 0.002, n = 0.022 Plot the function using fplot or plot . Use lower bound = 0; upper bound = 10; allowable tolerance = 0.00001; maximum number of iterations = 50

Expert Answer


Answer to Task # 1 Use fzero to find roots of the function 0.518(233.15) 12.557783 f(v) = 65,000- v-0.0018626 v(v+0.0018626) 233.1… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *