CE317 Computer Methods in Civil Engineering
Assignment #7
Use Mathematica to do the following two problems:
1- Do Problem 28.15 page 802.
2- For the loaded beam given below, determine the deflection y(x), the bending moment EI
y'(x) and the shear force EI
CE317 Computer Methods in Civil Engineering
Assignment #6 (Due date: 24 May 2005)
1- For Problem 24-16:
a) Compute the integral analytically using Mathematica
b) Compute the integral numerically by Excel (using trpezoidal rule)
c) Compute the integral num
CE317 Computer Methods in Civil Engineering
Assignment #5 (Due date: 3 May 2005)
1- The data below represents the bacterial growth in liquid culture over a period
of time in days.
Day
0
2
4
6
8
10
12
14
16
18
20
Amount 67.4 70.9 74.7 78.6 82.7 87.1 91.7 9
CE317 Computer Methods in Civil Engineering
Assignment #4 (due on 24 April 05 in the lab)
1- Do Problems 15.5 & 15.6 using Excel
2- Do Problems 16.1 & 16.12 using Excel
CE317 Computer Methods in Civil Engineering
Assignment #3 (Due date: 22 March 2005)
1- Show that the fixed-point method can be used to obtain the root of the function
f(x)= 2x sin2(x) 1 in such a way that the procedure will converge for all real
values of
CE317 Computer Methods in Civil Engineering
Assignment #2
1- Use the If built-in function of Mathematica to define the shear force and
bending moment at x = 0.25 L due to a single moving concentrated force P =
10 kN for a simply supported beam with a span
CE317 Computer Methods in Civil Engineering
Assignment #1 (Due date: 27 February)
1- Use Taylor series to estimate Cos(/3) from its value and derivatives at /4.
a- Can we get a 0% error using Taylor series?
b- Employ zero, 1st, 2nd, 3rd order expansions a
King Fahd University of Petroleum & Minerals
Civil Engineering Department
CE 317
Computer Methods in Civil Engineering
(072)
Due: Tuesday 18th March, 2008
Assignment No.: 2
1.
2.
3.
4.
Problem 5.6 (Page 131). Check the solution using Excel and Mathematica
King Fahd University of Petroleum & Minerals
Civil Engineering Department
CE 317
Computer Methods in Civil Engineering
(072)
Due: Tuesday 4th March, 2008
Assignment No.: 1
Use Taylor series to estimate f(x)=e-2x+1 at xi+1=2 with xi=1.
a. Can we get a 0% e
Lab 11: Solution of ODEs-Mathematica
Objective: For a given differential equation we want to find the solution of this
equation
Method of solution:
Using the built in function(DSolve)
Using the built in function (NDSolve)
Procedure: the following exampl
Lab 10-B: Symbolic & numerical integration-Mathematica
Objective: For a given function want the integration of this function.
Method of solution:
Using Integrate command
Using NIntegrate command
Procedure: the following example illustrates the procedure:
Lab 6: Nonlinear Equations (Mathematica)
Objective: For a given system of Non-linear equations we want to find the solution of
this system.
Method of solution:
Using the Solver & NSolve commands
Using find root command
Procedure: the following example ill
Lab 4-A: Linear Algebraic Equations
Objective: For a given system of linear algebraic equations we want to find the
solution of this system.
Method of solution:
Using the built in features in Excel
Procedure: the following example illustrates the procedur
Lab 1: Brief Introduction to Excel
1- Contents of Excel Workbook
When you open Excel (Start
Programs
Excel
File
New), a new
"workbook" is created for you. A workbook is a set of "worksheets." A worksheet is a
"page" in your workbook. Excel allows you to q
King Fahd University of Petroleum & Minerals
Civil Engineering Department
CE 317-Computer Methods in Civil Engineering
First Semester 2008 2009 (081)
INSTRUCTOR:
Dr. Muhammad A. Al-Zahrani
Dr. Husain J. Al-Gahtani
Eng. Basheer Al-Gohi
Tel: 2479
Office # 1