**Catalog Data:**

CE 108: Introduction to Computer Methods in Civil Engineering. Credit 2.
Computer programming, organization of problems for computational solution, flow
charts, programming; numerical methods, analysis and solution of civil
engineering problems.

**Textbook:**

Nyhoff and Leestmd, Fortran 77 for Engineers and
Scientists, 4th Edition, Prentice Hall.

**Reference:**

UNIX System, On-line manuals

**Coordinator:**

H.L. Wong, Professor of Civil Engineering

**Goals:**

This course is designed to teach basic computer
programming skills to first year civil engineering students.
Computer algorithms are discussed in detail to stress the
importance of computers application in today's engineering
curriculum.

**Prerequisites by topic:**

Sufficient mathematics background from high school years.

**Topics:**

- Operating system and file structures (.5 week).
- Text editing and program syntax (.5 week).
- The concept of a computer algorithm, flow charts (1
week).
- Basic input/output operations in FORTRAN, disk files and
peripheral devices (2 weeks).
- Arithmetic and logical expressions in FORTRAN (2
weeks).
- Recurrence relationships of mathematical functions (2
weeks).
- Algorithm for solving a system of simultaneous equations
(1 week).
- Structured programming, subroutines and functions (3
weeks).
- The concept of pointers, elementary database
management (1 week).
- The concept of dynamic arrays in FORTRAN (1 week).
- Other useful algorithms, e.g., real roots of transcendental
functions, Numerical integration, interpolation (2 weeks).

**Course Objectives:**

- To study the operating system and file structures of
computers and basic editing programs.

*Outcomes:*
The student will be able to:
- Understand the disk operating system, and basic
operations of the windows system.
- The creation, editing, deleting and basic maintenance of computer files.

- To study the concept of numerical algorithms and their
operations.

*Outcomes:*
The student will be able to:
- Develop a numerical algorithm from a set of given
instructions or procedures
- Create flow-charts as illustrations of numerical
algorithms.

- To study the basic variables, arithmetic, logical and
basic input/output operations in Fortran, to study
mathematical functions, subroutines, and structural
programming

*Outcomes:*
The student will be able to:
- First write simple fortran computer programs
involving the basic operations.
- Then write basic computer programs implementing
a given algorithm.

- To study some useful algorithms: roots of functions &
equations, numerical integration.

*Outcomes:*
The student will be able to:
- Write more complex computer programs for more
complex algorithms
- Debug the errors and execution of complex
computer programs.

**Computer usage:**

Ten Computer projects plus 5 written assignments. Each
student spends approximately 4 hours per week in the
computer terminal room, programming in Visual Basic or C,
Fortran or Matlab.

**Laboratory projects:**

Laboratory projects for this course are computer projects, i.e., software
development. Relation of Course to Program Objectives:
The course provides a basic introduction to computer methods in civil
engineering. It contributes to the following program outcomes: a, b, c, d, g,
i, j. It allows the students to:

- Be able to identify, formulate and solve engineering
problems.
- Have knowledge of contemporary issues.
- Recognize the need for continuing life-long learning.
- Apply the fundamental knowledge of science,
mathematics and engineering principles.
- Be able to participate effectively on multi-disciplinary
teams.
- Be able to write effectively.
- Be able to work with, and in specialized applications
of, computers in the performance of job functions.

**Prepared by:**

H.L. Wong