University of California at Berkeley
Department of Civil & Environmental Engineering
Structural Engineering Mechanics & Materials
Instructor:
Armen Der Kiureghian
Student name:__________________________
CE 93  Engineering Data Analysis
First Midterm Examination
Thursday, October 9, 2008
9 10 AM, 3108 Etcheverry Hall
Work on all three problems. Write clearly and state any assumptions you make. The exam
is closed books and notes. However, you can use one sheet of paper with your own notes.
The problems have the following weights:
Problem 1 (30 points) ________________________
Problem 2 (35 points) ________________________
Problem 3 (35 points) ________________________
Exam grade (100 points) ______________________
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentStudent name:__________________________________
2
Problem 1.
(30 points)
The 48
2 matrix in the following Matlab session represents the monthly water demands in mil
lions of gallons for two cities (City A in column 1 and City B in column 2) in Central Florida for
a fouryear period.
Carefully review the session and the generated figures and respond to the
questions listed in the next page. The figures are shown in the order they are generated.
>> whos
Name
Size
x
48x1
y
48x1
>> boxplot(x(:,1))
>> figure
>> boxplot(x(:,2))
>> mean(x)
ans =
76.7271
660.4208
>> cov(x)
ans =
1.0e+003 *
0.1081
0.1964
0.1964
6.3244
>> moment(x,3)
ans =
1.0e+005 *
0.0004
2.1835
>> prctile(x,90)
ans =
89.7000
764.9700
>> figure
>> qqplot(x(:,1),x(:,2))
>> figure
>> qqplot(x)
1
55
60
65
70
75
80
85
90
95
Values
Column Number
1
500
600
700
800
900
Column Number
50
60
70
80
90
100
400
500
600
700
800
900
X Quantiles
Y Quantiles
3
2
1
0
1
2
3
0
200
400
600
800
1000
Standard Normal Quantiles
Quantiles of Input Sample
QQ Plot of Sample Data versus Standard Normal
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '10
 hansen
 Normal Distribution, Structural Engineering, Environmental Engineering, Probability theory

Click to edit the document details