



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




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, March 3, 2005 9:10-10:00 AM, Sibley Auditorium
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 your own notes.
The problems have the following weights:
Problem 1 (35 points) ________________________ Problem 2 (35 points) ________________________ Problem 3 (30 points) ________________________
Exam grade (100 points) ______________________
Problem 1. (7×5= 35 points) Carefully examine the Matlab® session shown below. The resulting figures are shown in sequence on the right. Then respond to the itemized questions listed on the next page.
whos Name Size Bytes Class x 100x1 800 double array y 100x1 800 double array Grand total is 200 elements using 1600 bytes hist(x,12) hist(y,12) boxplot([x y]) scatter(x,y) mean(x) ans =
moment(x,2) ans =
moment(x,3) ans =
prctile(x,[10 50 90]) ans = 12.4305 19.9746 29.
Problem 2. (20+15= 35 points) The number of earthquakes to occur during the life of a building, denoted N , is expected to be 0, 1, 2 or 3 with the probabilities indicated in the PMF shown below. At each event, there is a probability 0.05 that the building will be damaged. Assume the building is immediately repaired after each damaging event, and that the states of the building after successive earthquake events are statistically independent. Determine: a) The probability that the building will be damaged due to earthquakes during its lifetime. b) If the building is known to have sustained earthquake damage during its lifetime, what is the probability that more than one earthquake occurred during this period?
a) Define D =damage due to earthquake. By total probability theorem,
( ) ( | ) ( )
3 0
P D PD N nPN n n
= P ( D | N = 0 )= 1 , P ( D | N = 1 )= 1 − 0. 05 = 0. 95 P ( D | N = 2 )=( 1 − 0. 05 )^2 = 0. 9025 , P ( D | N = 3 )=( 1 − 0. 05 )^3 = 0. 8574
Alternative solution:
3 0
n
PD PD N nP N n
b) If damage occurred, then there must have been 1, 2 or 3 earthquakes.
P ( N > 1 | D )= 1 − P ( N = 1 | D )= 1 − P ( DP |( DN )=^1 ) P ( N = 1 )= 1 − 0.^00257.^050. 30 = 0. 416
n
pN ( n )