(1) Can understand and explain concerning fundamental syntax of Fortran
(2) Can design processing procedures by analyzing problems concerning numerical analysis
(3) Can create a computer program using Fortran and run it
Outline:
Nowadays, in the civil engineering field, the spread of general-purpose analysis programs and design programs has drastically reduced the opportunities for engineers to create programs by themselves. However, it is necessary for engineers to prepare the programs by themselves or to incorporate new functions into those programs as user subroutines if they encounter problems that cannot be dealt with by those programs.
Fortran was developed as a programming language suitable for numerical calculations in the science and engineering fields. It is still used to describe many programs such as structural analysis programs based on the finite element method. Therefore, knowledge concerning Fortran might be often required when incorporating user subroutines into those programs or when modifying existing numerical analysis programs.
In this subject, a teacher, who has experience as an engineer of bridge fabricator and has engaged in the design of steel bridges and steel structures, will conduct a lecture and practice on syntax of Fortran, procedure of numerical analysis, and coding method in Fortran, by using his experiences.
Style:
An instructor will explain the fundamental syntax of Fortran and numerical calculation algorithms using sample programs in the class. After that, he presents the assignments and lets each student create and run a program. He requires students to submit some assignments as reports.
Notice:
Students need to proactively construct the flow of calculation by themselves and create a program according to the syntax of Fortran in the lecture. Students should patiently analyze the reason when a compilation error or runtime error occurs, or an invalid result is obtained from the calculation.
This subject has a content the summation of learning time guaranteed in the class and standard self-learning time including required time for conducting preparation, review, and assignment corresponds 90 hours.
Students who miss 1/3 or more of classes will not be eligible for evaluation.
|
|
|
Theme |
Goals |
2nd Semester |
3rd Quarter |
1st |
Introduction Learn concerning the proper collection and processing of information, how to send it, the fundamental mechanism of the Internet, the features of Fortran, and the execution procedure of the program |
Can explain concerning the proper collection and processing of information, how to send it, the fundamental mechanism of the Internet, the features of Fortran, and the execution procedure of the program
|
2nd |
I/O and simple calculation (1) Learn concerning the fundamental form of a program, input/output, four arithmetic operations, and how to name variables |
Can explain concerning the fundamental form of a program, input/output, four arithmetic operations, and how to name variables
|
3rd |
I/O and simple calculation (2) Learn concerning variable types, form declarations, and intrinsic functions |
Can explain concerning variable types, form declarations, and intrinsic functions and create a program for conducting a simple calculation and outputting the results by using intrinsic functions
|
4th |
I/O and simple calculation (3) Learn concerning input/output formatting, data input from external files, and data output to external files. |
Can explain concerning input/output formatting and create a program for inputting data from external files, calculating, and outputting the results to external files
|
5th |
Loop (1) Learn concerning DO statement for the loop |
Can create a simple program including a loop by using DO statement
|
6th |
Loop (2) Learn how to calculate the summation using the DO statement |
Can create a simple program for calculating the summation by using DO statement
|
7th |
Array (1) Learn concerning a one-dimensional array and a simple calculation of the vector |
Can explain concerning a one-dimensional array and create a program for calculating a scalar product by using a one-dimensional array
|
8th |
Midterm exam
|
|
4th Quarter |
9th |
Array (2) Learn concerning a two-dimensional array and a simple calculation of the matrix |
Can explain concerning two-dimensional array and create a program for calculating the sum and transpose of the matrix by using a two-dimensional array
|
10th |
Array (3) Learn concerning the calculation of matrix and vector |
Can create a program for matrix multiplication and calculating of the matrix-vector product
|
11th |
Branching (1) Learn concerning a flowchart and IF and WHILE statements for branching |
Can explain concerning a flowchart and create a simple program including branching process by using IF or WHILE statements
|
12th |
Branching (2) Learn concerning GOTO and EXIT statements used for jumping when the conditions are satisfied |
Can create a simple program including branching process and loop by using GOTO or EXIT statements
|
13th |
Subprogram (1) Learn concerning concepts of main and subprograms, subroutines and their calls, and data transfer |
Can explain concerning concepts of main and subprograms and create a simple program with subroutines
|
14th |
Subprogram (2) Learn concerning the difference between subroutine and external function, external functions and their calls, and data transfer |
Can explain concerning the difference between subroutine and external function and create a simple program by using external functions
|
15th |
Data type Learn concerning character types other than integer and real number types. |
Can explain concerning data type and create a simple program using other types except for integer and real number types.
|
16th |
Final exam
|
|