Professional Documents
Culture Documents
3.1
Analytical Problem
F1
F2
F3
At
At F1
F1
F1
At F2
F2
At
//
Ty
pe
eq
ua
ti
on
he
re
.
By assuming breadth = 1,
(1)
and with
23.60kN/
and
(2)
by using
be uses to determine the unknown . For the dam width, l specified, the angle, and the
maximum water depth, h are computed in the Table 1.
6
9
12
15
18
14.47880782
18.34115245
21.55935479
24.32711611
26.75302999
and
75.96375653
69.44395478
63.43494882
57.99461679
53.13010235
for each
given
Numerical Method
Numerical method is the way to solve the mathematical problem by reformulated to be solved in
arithmetic operation. From the equation (2), the following term of
3.2.1
Algorithm
1.
Start
2.
3.
4.
State the values that known as parameters, starting approximation for root, h, error, eps,
tolerance, tol, maximum number of iteration, total, and first iteration, k
5.
(1.635*(h^3))+(3.27*(l^2)*h)-(183.895*(l^2))-(44.145/(sin(theta)^2))
f1 =
6.
(4.905*(h^2)) + (3.27*(l^2))
7.
8.
Show the values of the number of iteration, k, maximum height, h and absolute error, ea
9.
Finish
3.2.2 Flowchart
3.2.3 Coding Program
The maximum water height at every dam width can be compute by using Matlab coding as given
below:
%
%
%
%
%
%
Name :
IC Number:
Matric Number:
Year/Course :
Project :
Lecturer :
% Date :
17 December 2014