You are on page 1of 2

STRUCTURAL ACTIONS & ANALYSIS

BSC (HONS) CIVIL 4 2013-2014


LECTURER: AMA, DR.-ING. ONYEAMA A. OJI
1/2

CA 4: MATLAB PROGRAMMING EXERCISE

25-11-2013

Fig. CA 4 below shows a continuous beam that is fixed at A and pinned at B and C. The loading is indicated on the Fig. CA 4. The main purpose of the exercise is to write a Matlab programme to calculate and plot the Shear forces and Bending Moments resulting from this loading on the system.

SUBMIT: On before 17th December 2013

Fig. CA 4
q1 A q2

L1

L2

PROGRAM DESIGN and ALGORITHM DEVELOPMENT STEPS


1. Problem Analysis Context of the proposed investigation to provide a proper motivation for the design of the computer program Need for the program Nature of the program 2. Problem Statement Developing a detailed statement of the mathematical problem to be solved with a computer program, here Matlab 3. Processing Scheme Required inputs Required Outputs Useful utilities, e.g. their workability

STRUCTURAL ACTIONS & ANALYSIS


BSC (HONS) CIVIL 4 2013-2014 LECTURER: AMA, DR.-ING. ONYEAMA A. OJI

2/2

CA 4: MATLAB PROGRAMMING EXERCISE

25-11-2013

4. Algorithm Step by-step procedure, e.g. top-down process Decompose whole problem into subordinate problems 5. Writing the Program Now write the program: convert into Matlab script 6. Evaluation Debugging, Test the programme with the attached parameters, Compare with other results 7. Application Solve the problem Save the program and results Which other problems could be solved with the program?

Lit.: Brian H. Hahn Daniel T. Valentine Essential Matlab for Engineers and Scientists 4. Ed. Elsevier, 20110

You might also like