You are on page 1of 3

EFC 3213 Computing II (Numerical Methods)

Group Assignment (15%)

Course Assess the efficiency of a selected numerical method when more than one option is PO2
Outcome 2: available to solve a certain class of problem.
Course Demonstrate the convergence properties, limitation of different numerical methods PO3
Outcome 3 and implement using MATLAB’s programming language

Instruction

Answer all Questions

Question 1

Stream cross-sectional areas (A) are required for a number of tasks in water resources engineering, including flood
forecasting and reservoir designing. Unless electronic sounding devices are available to obtain continuous profiles of the
channel bottom, the engineer must rely on discrete depth measurements to compute A. An example of a typical stream
cross section in shown in Figure 1. The data points represents locations where a boat was anchored and depth readings
taken.

(a) Find the cross sectional area from Figure 1 using


(i) trapezoidal rule applications (h= 2 m) and
(ii)Simpson’s 1/3 Rule (h=2m)
by using both manual and MATLAB.
(b) Discuss the accuracy of the computation from both trapezoidal and Simpson methods .

Question 2

As described in Question 1, the cross sectional area of the channel can be computed as

B
Ac=∫ H ( y)d y
0

Where B = the total channel width (m), H = the depth (m), and y = distance from the bank (m). In a similar fashion, the
average flow Q (m3/s) can be computed as

B
Q=∫ U ( y) H ( y ) dy
0

Where U = water velocity (m/s). Use these relationships and a numerical method to determine Ac and Q for the following
data:

y, m 0 2 4 5 6 9
H, m 0.5 1.3 1.25 1.7 1 0.25
U, m/s 0..03 0.06 0.05 0.12 0.11 0.02

(a) Compute A and Q using any two numerical methods that will produce higher accuracy (using manual
MATLAB)
(b) Discuss why method used in (a) is selected.

Criteria Weightage Evaluation Scale Marks


Unsatisfactory Average Good Outstanding
(0-1 marks) (2-3 marks) (4-5 marks) (6 marks)
Manual 10 Manual Manual Manual Manual /60
Calculation calculation is calculation is calculation is calculation is
(Analytical included. included. included. included.
and
numerical Major mistake Average mistake Minor mistake Correct
method) in calculation in calculation in calculation calculation
(CO2)
MATLAB 30 Flow chart, Flow chart, Flow chart, Flow chart, /180
(Flow chart, MATLAB MATLAB script, MATLAB MATLAB
script, line by script, discussion of the script, script, discussion
line discussion of the command and discussion of of the command
discussion, command and output of the the command and output of the
output) output of the program are and output of program are
(CO3) program are included. the program are included.
included. included.
Program is Program is
Program is working. Program is working.
working. Evidence working. Evidence
Evidence (Screenshot of Evidence (Screenshot of
(Screenshot of the program and (Screenshot of the program and
the program and output) is shown the program output) is shown
output) is shown in the report. and output) is in the report.
in the report. shown in the
Student Student report. Student
demonstrates demonstrates demonstrates
poor average Student outstanding
understanding understanding on demonstrates understanding on
on the flow the flow chart good the flow chart
chart and and program. understanding and program.
program. on the flow
chart and
program.

Discussion 10 Student Student Student Student /60


on accuracy demonstrates demonstrates demonstrates demonstrates
poor average good outstanding
understanding to understanding to understanding understanding to
explain which explain which to explain explain which
approach approach which approach approach
produces higher produces higher produces produces higher
accuracy accuracy higher accuracy accuracy
Reference If applicable
Total marks /300
Total marks (%) /15

Reminder: Do not copy from other group. Submission deadline: Week 15 (Friday before 5 pm) – Submit to MS
Teams. Include cover page (Name of group member, matric number, course name/code) in your report. Report in
PDF format.

You might also like