Anda di halaman 1dari 4

CONFIDENTIAL 1 EM/ASSIGNMENT (2) 2018/MEC500

COURSE NAME : NUMERICAL METHOD WITH APPLICATION

COURSE CODE : MEC500

ASSIGNMENT 2 : Mac-Sept 2018

DATELINE : WEEK 14 (Friday 5 pm)

GROUP ASSIGNMENT GUIDELINES

1. Prepare your report in MS word / LaTEX with the details of all the tasks
2. You can prepare the report in the format of the technical report
3. Answer ALL questions in ENGLISH.
Students are required to analyze and solve the problem using numerical technique/s. Analysis
4.
must be done clearly and shortly by applying engineering problem solving method.
Use computer computational tools (MATLAB/Excel/.etc.) to verify your result and it is
5.
COMPULSORY
6. Answers without computational approach or simulation tool will result in losing marks.
Read the questions properly, don’t rush, understand it well before you start to attempt to answer
7.
them. Do not hesitate to see the lecturer for guidance.
8. Use proper mathematical notations in your report via MS Word/LaTEX.
Submit both softcopy and hardcopy of the report. For softcopy, email to hafizandes@gmail.com
9. with details of Team Leader and Group. Each individual must submit the peer assessment form
together in the hardcopy bound.

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 2 EM/ASSIGNMENT (2) 2018/MEC500

Q1. Build a function in MATLAB M-file to calculate linear regression and coefficient of correlation.

*** Hint ***

function [a0 a1]=linregr(x,y)


n=length(x);

a1 = ? % slope of the linear line


a0 = ? % y-intercept
r = ? % coefficient of correlation

end

**********
(CO3/PO3/C6)

Q2. Employ linear regression using the function in Q1to fit the given data (Table 1.1) with linearized
version of equation (1.1).

Table 2.1
Q 1.3 1.8 3 4.5 6 8 9
v 0.07 0.13 0.22 0.275 0.335 0.35 0.36

***Hint: Equ. (2.1) is a saturation-growth-rate equation***


(CO3/PO3/C6)

Q3. In water-resources engineering, the sizing of reservoirs depends on accurate estimates of water
flow in the river that is being impounded. For some rivers, long-term historical records of such flow
data are difficult to obtain. In contrast, meteorological data on precipitation is often available for
many years past. Therefore, it is often useful to determine a relationship between flow and
precipitation. This relationship can then be used to estimate flows for years when only precipitation
measurements were made. The following data are available for a river that is to be dammed:

Table 3.1: First reading


Precipitation, cm (x) 3 4 5 7 8 9 11 12
Flow, m3/s (y) 1.6 3.6 4.4 3.4 2.2 2.8 3.8 4.6

Instruction 1

Derive a cubic equation based on the data in table 1 above. Along with the coefficient, determine r 2
and sy/x
(CO3/PO3/C6)

Table 3.2: Second reading


Precipitation, cm 88.9 108.5 104.1 139.7 127 94 116.8 99.1
Flow, m3/s 14.6 16.7 15.3 23.2 19.5 16.1 18.1 16.6
© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL
CONFIDENTIAL 3 EM/ASSIGNMENT (2) 2018/MEC500

Instruction 2

a) Using any numerical tool, construct a well-developed graph based on the given data in Table
3.2 above.

b) On the same graph, construct the best straight line, which fit the given data.

c) How do you account for the annual water flow if the precipitation is 120 cm?

d) Consider there are no water losses, the maximum flow, Qm, that could occur for a level of
precipitation should be equal to the product of the annual precipitation and the drainage area.
This is expressed by the following equation.

where; Q is the flow, A is the area and P is the precipitation.

If the drainage area is 1100 km2, explain how would you estimate the fraction of the
precipitation that is lost via processes such as evaporation, deep groundwater infiltration, and
consumptive use.
(CO3/PO3/C6)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 4 EM/ASSIGNMENT (2) 2018/MEC500

MEC500 ASSIGNMENT RUBRICS- GROUP ASSIGNMENT

GROUP NO DUE DATE SUBMISSION DATE REMARKS


ON TIME /
LATE

LECTURER NAME

No Name Student ID
1

Guidelines Level Poor Satisfactory Good Excellent


Scale Scale 0-4 5-6 7-8 9-10

Assessment Criteria (Report) Weight Scale Total


(w) (y) (w * y)
Content/ Diagrams/ Figures/ Discussion and Conclusion
CO3/PO3/C6 Solve the task 2.5 2
CO3/PO3/C6 Show justification 2.5 2
CO4/PO5/P4 Display computer computational approach 2.5 2
Display Format, Language and Organization,
CO4/PO5/P4 2.5 2
References and citation
TOTAL 20%

REMARKS:

END OF QUESTION PAPER

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL

Anda mungkin juga menyukai